A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://18.react.dev/reference/react-dom/server/renderToStaticNodeStream below:

renderToStaticNodeStream – React

renderToStaticNodeStream renders a non-interactive React tree to a Node.js Readable Stream.

const stream = renderToStaticNodeStream(reactNode, options?)

The stream will produce non-interactive HTML output of your React components.

A Node.js Readable Stream that outputs an HTML string. The resulting HTML can’t be hydrated on the client.

Call renderToStaticNodeStream to get a Node.js Readable Stream which you can pipe to your server response:

The stream will produce the initial non-interactive HTML output of your React components.


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.4