reactjs / React.NET

.NET library for JSX compilation and server-side rendering of React components

Home Page:https://reactjs.net/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

.NET library for JSX compilation and server-side rendering of React components

https://reactjs.net/

License:MIT License


Languages

Language:C# 88.2%Language:JavaScript 4.1%Language:SCSS 3.7%Language:HTML 2.2%Language:TypeScript 0.5%Language:Ruby 0.4%Language:CSS 0.3%Language:PowerShell 0.3%Language:Pascal 0.2%Language:Batchfile 0.1%Language:ASP.NET 0.0%Language:Shell 0.0%