React DOM integration

hydrateRoot

Attach React to matching React-generated HTML with matching initial state.

Formal Syntax & Structure

react syntaxreact
hydrateRoot(host, <App />)

Working Example

Example Snippetreact
hydrateRoot(host, <App />)
React Reference