Server rendering and hydration

renderToPipeableStream

Node stream SSR; start piping when the shell is ready, or wait for all content when appropriate.

Formal Syntax & Structure

react syntaxreact
renderToPipeableStream(<App />, {onShellReady(){ /* pipe */ }})

Working Example

Example Snippetreact
renderToPipeableStream(<App />, {onShellReady(){ /* pipe */ }})
React Reference