Skip to content

v0.4.0

Compare
Choose a tag to compare
@mrcaidev mrcaidev released this 10 Aug 13:44

New Hooks

  • useDebounce
  • useDebounceEffect
  • useDelayEffect
  • useEventListener
  • useLatest
  • useThrottle
  • useThrottleEffect

New Features

  • Allow native targets where ref is required, e.g. Allow HTMLElement where previously only RefObject<HTMLElement> is allowed.

Bug Fixes

  • useLocalStorage no longer fails when browser prohibits cookie and data access.

Refactors

  • Remove result interface.
  • Remove useStorage and UseStorageOptions API.