The react-dom/server
APIs let you server-side render React components to HTML. These APIs are only used on the server at the top level of your app to generate the initial HTML. A framework may call them for you. Most of your components don’t need to import or use them.
These methods are only available in the environments with Node.js Streams:
renderToPipeableStream
renders a React tree to a pipeable Node.js Stream.These methods are only available in the environments with Web Streams, which includes browsers, Deno, and some modern edge runtimes:
renderToReadableStream
renders a React tree to a Readable Web Stream.These methods can be used in the environments that don’t support streams:
renderToString
renders a React tree to a string.renderToStaticMarkup
renders a non-interactive React tree to a string.They have limited functionality compared to the streaming APIs.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.3