Skip to content

reactjs/React.NET

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* Fix minor typo in tutorials/aspnetcore.md

* Fix typo in reactnet-vanilla/Startup.cs
6d5bdb0

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Apr 11, 2022

ReactJS.NET

ReactJS.NET is a library that makes it easier to use Babel along with Facebook's React and JSX from C#.

.NET Core Desktop NuGet version Download count

Features

Quick Start

dotnet new -i React.Template
dotnet new reactnet-vanilla
dotnet run

Planning on using require or import module syntax in your application? Use the reactnet-webpack template instead for webpack support.

See also:

Building Manually and Contributing

When building your own copy of ReactJS.NET (for example, if implementing a new feature or fixing a bug), your first build always needs to be done using the build script (dev-build.bat) as this generates a few files required by the build (such as SharedAssemblyVersionInfo.cs). Once this build is completed, you can open React.sln in Visual Studio and compile directly from Visual Studio. Please refer to the documentation page on contributing for more information on contributing to ReactJS.NET.

Note that the build requires you to have Git installed. If you do not want to install Git, you may remove the GitVersion task from build.proj.