It's been under development for a while now, but ReactJS.NET 4.0 is finally released! 🎉🎈
This release brings a few new features:
- Updated bundled version of React to 16.7 (you can always provide your own version of React if you need a newer version)
- This library is now MIT licensed
- Javascript engines are no longer automatically registered. See the getting started pages on .NET Framework and .NET Core for more information about how to register a specific Javascript engine in your app.
- JavaScriptEngineSwitcher and JSPool have been updated as a part of this change.
- Further reading for JavaScriptEngineSwitcher: How to upgrade applications to version 3.X
- Support for faster Javascript engine initialization via the
AllowJavaScriptPrecompilation
setting - Server side rendering support for
- React Router
- React Helmet
- CSS-in-JS libraries
- The API is also publicly extendable, so you can write a custom integration without requesting a change to this library by implementing this interface
- Lots of contributions from the community. Thanks to:
- @Taritsyn for optimizations to JavaScriptEngineSwitcher and adding script precompilation
- @kpkozak, @saranshkataria, @ariefabubakar, @awayken, @ssaroiu, @teimaj, and @JoshuaKGoldberg for contributing fixes and documentation updates!
If there are things you'd like to see added, please send feedback via Github Issues. We're a limited team and may not be able to implement what you'd like to see, but still want to hear how this project is being used and where it could be improved.
Cheers!