You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The renderToString Options in the Guides/Hydrate App Chapter are incorrect and not well documented.
The afterHydrate and beforeHydrate Options with type boolean already seemed a bit off to me so i analyzed the hydrate build. These are functions with the mocked document as a parameter, so that you can modify the mocked window object before rendering for example.
The other options seem correct and self-explanatory to me.
I'll try opening a PR the next days!
The text was updated successfully, but these errors were encountered:
The renderToString Options in the Guides/Hydrate App Chapter are incorrect and not well documented.
The afterHydrate and beforeHydrate Options with type boolean already seemed a bit off to me so i analyzed the hydrate build. These are functions with the mocked document as a parameter, so that you can modify the mocked window object before rendering for example.
The other options seem correct and self-explanatory to me.
I'll try opening a PR the next days!
The text was updated successfully, but these errors were encountered: