v0.4.0
New Hooks
- useDebounce
- useDebounceEffect
- useDelayEffect
- useEventListener
- useLatest
- useThrottle
- useThrottleEffect
New Features
- Allow native targets where
ref
is required, e.g. AllowHTMLElement
where previously onlyRefObject<HTMLElement>
is allowed.
Bug Fixes
useLocalStorage
no longer fails when browser prohibits cookie and data access.
Refactors
- Remove result interface.
- Remove
useStorage
andUseStorageOptions
API.