hydrate
hydrate lets you display React components inside a browser DOM node whose HTML content was previously generated by react-dom/server in React 17 and below.
This API will be removed in a future major version of React.
In React 18, hydrate was replaced by hydrateRoot. Using hydrate in React 18 will warn that your app will behave as if itβs running React 17. Learn more here.
hydrate lets you display React components inside a browser DOM node whose HTML content was previously generated by react-dom/server in React 17 and below.