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
다음 메서드들은 브라우저, Deno, 및 일부 최신 엣지 런타임을 포함하는 Web Streams 환경에서만 사용할 수 있습니다.
prerenderrenders a React tree to static HTML with a Readable Web Stream.- Experimental only
resumeAndPrerendercontinues a prerendered React tree to static HTML with a Readable Web Stream.
Node.js also includes these methods for compatibility, but they are not recommended due to worse performance. Use the dedicated Node.js APIs instead.
Static APIs for Node.js Streams
다음 메서드들은 Node.js Streams 환경에서만 사용할 수 있습니다.
prerenderToNodeStreamrenders a React tree to static HTML with a Node.js Stream.- Experimental only
resumeAndPrerenderToNodeStreamcontinues a prerendered React tree to static HTML with a Node.js Stream.