20/02/2025, 19:18 Static React DOM APIs – React
v19
API REFERENCE
Static React DOM APIs
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.
Static APIs for Web Streams
These methods are only available in the environments with Web Streams,
which includes browsers, Deno, and some modern edge runtimes:
prerender renders a React tree to static HTML with a Readable Web
Stream.
Static APIs for Node.js Streams
These methods are only available in the environments with Node.js Streams:
prerenderToNodeStream renders a React tree to static HTML with a
Node.js Stream.
https://react.dev/reference/react-dom/static 1/2
20/02/2025, 19:18 Static React DOM APIs – React
PREVIOUS
renderToString
NEXT
prerender
Copyright © Meta Platforms, Inc
uwu?
Learn React API Reference
Quick Start React APIs
Installation React DOM APIs
Describing the UI
Adding Interactivity
Managing State
Escape Hatches
Community More
Code of Conduct Blog
Meet the Team React Native
Docs Contributors Privacy
Acknowledgements Terms
https://react.dev/reference/react-dom/static 2/2