| title | Static React DOM APIs |
|---|
<<<<<<< HEAD
<<<<<<< HEAD
The react-dom/static APIs let you generate static HTML for React components. They have limited functionality compared to the streaming APIs. A framework may call them for you. Most of your components don't need to import or use them.
The react-dom/static APIs let you generate static HTML for React components. They have limited functionality compared to the streaming APIs. A framework may call them for you. Most of your components don't need to import or use them.
e07ac94bc2c1ffd817b13930977be93325e5bea9 ======= The
react-dom/staticAPIs let you generate static HTML for React components. They have limited functionality compared to the streaming APIs. A framework may call them for you. Most of your components don't need to import or use them. e07ac94bc2c1ffd817b13930977be93325e5bea9
These methods are only available in the environments with Web Streams, which includes browsers, Deno, and some modern edge runtimes:
prerenderrenders a React tree to static HTML with a Readable Web Stream.
These methods are only available in the environments with Node.js Streams:
prerenderToNodeStreamrenders a React tree to static HTML with a Node.js Stream.