@react-hookz/web
Advanced tools
Changelog
3.0.0 (2021-06-16)
maxWait
parameter to useDebouncedCallback
hook (#131) (600baa8)useThrottledCallback
and useDebouncedCallback
(#132) (131d98e)useDebouncedEffect
and useDebouncedState
(#133) (1d164ff)delay
and deps
arguments are swapped position for
useThrottledCallback
and useDebouncedCallback
hooks to be aligned
with useCallback
signature.useDebounceCallback
renamed to useDebouncedCallback
useThrottleCallback
renamed to useThrottledCallback
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.