reactjs/React.NET
소개
JSX 컴파일과 React 컴포넌트의 서버 측 렌더링을 지원하는 .NET 라이브러리
웹 및 앱 개발What you can do
- On-the-fly JSX to JavaScript compilation via Babel
- ASP.NET Bundling and Minification
- CSS-in-JS libraries
- Custom JS logic via implementing IRenderFunctions and passing to Html.React
측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -4
- in 1 month
- -4
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalReactJS.NET
ReactJS.NET is a library that makes it easier to use Babel along with Facebook's React and JSX from C#.
Features
- On-the-fly JSX to JavaScript compilation via Babel
- JSX to JavaScript compilation via popular minification/combination libraries:
- Server-side component rendering
to make your initial render super-fast, including support for:
- CSS-in-JS libraries
- React Router
- React Helmet
- Custom JS logic via implementing IRenderFunctions and passing to Html.React
- Runs on Windows, OS X and Linux via .NET Core and ChakraCore
- Supports both ASP.NET 4.0/4.5 and ASP.NET Core
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.
관련 프로젝트 살펴보기
불러오는 중…