Releases: valcol/react-hydration-on-demand
Releases · valcol/react-hydration-on-demand
v2.2.0
- Add React 18 as a peerDep
- Some dependencies updates
v2.1.0
- Add
whenInputPending
option (see README)
forceHydration
now hydrate the component with the rest of the tree when initially set at true
- Some dependencies updates
v2.0.1
- Add cleanup function in case the component is unmounted before hydration
- Some dependencies updates
v2.0.0
- Remove wrapper default css style.
- Target for
DOM events
and intersectionObservable
options are now passed as a getter function, executed client-side only, which remove the need to check if the code is executed server or client side before.
v1.0.0
docs: correct forceHydration type in the readme