React.NET

screenshot of React.NET

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

Overview:

ReactJS.NET is a library that enables the use of Babel, React, and JSX from C# in .NET Core Desktop applications. It provides features such as on-the-fly JSX to JavaScript compilation, ASP.NET Bundling and Minification, server-side component rendering, and support for CSS-in-JS libraries, React Router, and React Helmet. The library can run on Windows, OS X, and Linux via .NET Core and ChakraCore and supports both ASP.NET 4.0/4.5 and ASP.NET Core.

Features:

  • On-the-fly JSX to JavaScript compilation via Babel
  • JSX to JavaScript compilation via popular minification/combination libraries: ASP.NET Bundling and Minification, Cassette, Webpack, MSBuild
  • Server-side component rendering to make the initial render fast
  • Support for CSS-in-JS libraries, React Router, and React Helmet
  • Custom JS logic through implementing IRenderFunctions and passing to Html.React
  • Compatibility with Windows, OS X, and Linux via .NET Core and ChakraCore
  • Support for both ASP.NET 4.0/4.5 and ASP.NET Core