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 />)Attach React to matching React-generated HTML with matching initial state.
hydrateRoot(host, <App />)hydrateRoot(host, <App />)