github streamich/react-use v6.0.0

latest releases: v17.5.1, v17.5.0, v17.4.4...
5 years ago

6.0.0 (2019-03-26)

Bug Fixes

  • ๐Ÿ› bump nano-css (f1f36dc), closes #90
  • ๐Ÿ› don't throw only in development (f5faba5)

chore

  • ๐Ÿค– don't install only large dependencies (6170067)

Features

  • ๐ŸŽธ add {bound} option to useMouse (9bb02a1)
  • ๐ŸŽธ implement useClickAway, remove useOutsideClick (a03143a)
  • ๐ŸŽธ keep global state of all useLockBodyScroll hooks (5dd10e9)
  • ๐ŸŽธ move extra mouse functionality into useMouseHovered (8b0580e)
  • more precise size for useMouse (b887075)

BREAKING CHANGES

  • ๐Ÿงจ error is logged instead of thrown in development environment
  • ๐Ÿงจ useOutsideClick is now useClickAway
  • ๐Ÿงจ useCallbag hook is removed, some hooks KeyboardJS and Rebound installed
    separately

Don't miss a new react-use release

NewReleases is sending notifications on new releases.