reactjs / React.NET

.NET library for JSX compilation and server-side rendering of React components
https://reactjs.net/
MIT License
2.3k stars 937 forks source link

Support the new React 18 root API #1285

Open LinusCenterstrom opened 2 years ago

LinusCenterstrom commented 2 years ago

React 18 has new APIs for rendering / hydrating. createRoot().render & hydrateRoot() Would be nice to have (opt-in) support for outputting html that uses those instead of ReactDOM.render / ReactDOM.hydrate

sebastian-pierre commented 2 years ago

This would be great as soon as possible, as more solutions move to React 18 and get stuck.

DaniilSokolyuk commented 1 year ago

You can take a look at my NodeReact library, I've released a new version that supports React 18+ and all its features