Skip to content

usehooks-ts@2.13.0

Compare
Choose a tag to compare
@juliencrn juliencrn released this 06 Feb 15:11
· 72 commits to master since this release

Minor Changes

  • 87a5141: Improve useOnClickOutside:
    • Prevent handling callback when clicking on a not connected element (#374 by @hooriza)
    • Add support to accept multiple references
    • Add support for touch events in addition to mouse events
  • 87ba579: Fix SSR hooks by fallback with default or initial value instead of undefined
  • f39078f: Updated useIntersectionObserver API and fixed #395, #271 and #182, see #464.
  • a444ba7: Depreciated useElementSize replaced by useResizeObserver
  • e807ab3: Create useResizeObserver hook

Patch Changes