hydrate
Edit this pageThis method is similar to render except it attempts to rehydrate what is already rendered to the DOM. When initializing in the browser a page has already been server rendered.
Parameters
Prop | type | description |
---|---|---|
fn | () => JSX.Element | Function that returns the application code. |
node | MountableElement | DOM Element to mount the application to |
options.renderId | string | |
options.owner | unknown |