@react-hookz/web
Advanced tools
Changelog
2.0.0 (2021-06-14)
useCookie
renamed to useCookieValue
useCookieValue
default behaviour for browsers
changed to fetch cookie value on state initialisation.SSR remains untouched, but requires implicit setting of
initializeWithValue
option to false, to avoid hydration mismatch.