Skip to content

Releases: streamich/react-use

v7.3.0

31 Mar 08:38
Compare
Choose a tag to compare

7.3.0 (2019-03-31)

Features

v7.2.0

31 Mar 07:20
Compare
Choose a tag to compare

7.2.0 (2019-03-31)

Features

  • default dependency array for useAsync and useAsyncRetry (cb140a0)

v7.1.1

30 Mar 08:27
Compare
Choose a tag to compare

7.1.1 (2019-03-30)

Bug Fixes

  • consistent refs in useFullscreen hook (dc85499)

v7.1.0

29 Mar 16:01
Compare
Choose a tag to compare

7.1.0 (2019-03-29)

Bug Fixes

  • useClickAway TypeScript typings (4b20083)

Features

  • pass click event in useClickAway to user (01e38bc)

v7.0.2

29 Mar 08:12
Compare
Choose a tag to compare

7.0.2 (2019-03-29)

Bug Fixes

  • πŸ› add rebound and keyboards deps back to peerDependencies (4fc46aa)

v7.0.1

29 Mar 08:07
Compare
Choose a tag to compare

7.0.1 (2019-03-29)

Bug Fixes

  • add optional attributes in AsyncState (b0c9770)

v7.0.0

28 Mar 21:34
Compare
Choose a tag to compare

7.0.0 (2019-03-28)

Bug Fixes

  • πŸ› fix TypeScript build errors (5c95f28)
  • πŸ› make sure all paths in usePageLeave return (6655092)
  • πŸ› track "over" state better in useDrop hook (acc355c)

Features

  • 🎸 add clear() to useList, use fn for state updates (b20cf7c)
  • 🎸 add createRenderProp function for creating render-props (f4fd748)
  • 🎸 add useDrop hook (6e415cf)
  • 🎸 add useDropArea hook (676d0de)
  • 🎸 add useEvent hook (2a13cfb)
  • 🎸 add useKey hook (299fd86)
  • 🎸 add useKeyboardJs hook (3516aa6)
  • 🎸 add usePageLeave hook (33ac91b)
  • 🎸 add useThrottleFn hook that throttles function (0ccdf95)
  • 🎸 improve useFullscreen hook (7c38165)
  • 🎸 keep keyboard events in useKeyPress hook (00fecab)
  • 🎸 refactor useKeyPressEvent hook (c0658f6)
  • 🎸 return events from useKeyboardJs hook (aa277b8)
  • 🎸 simplify and improve useThrottle hook (452e8d9)
  • 🎸 useKeyPress hook now uses useKey, KeyboardJS removed (727743b)

BREAKING CHANGES

  • 🧨 useKeyPressEvent hook modified for dependency injection and providing
    event objects to user
  • 🧨 KeyboardJS now available anymore in useKeyPress hook, instead it will be
    a separate useKeyPressKJ hook.
  • 🧨 useThrottle is now a completely different hook

v6.2.2

28 Mar 15:01
Compare
Choose a tag to compare

6.2.2 (2019-03-28)

Bug Fixes

  • fix deps arg and union type in useAsync and useAsyncRetry (929e726)

v6.2.1

27 Mar 11:58
Compare
Choose a tag to compare

6.2.1 (2019-03-27)

Bug Fixes

  • set 'module' field properly (35d4fc2)

v6.2.0

27 Mar 09:57
Compare
Choose a tag to compare

6.2.0 (2019-03-27)

Bug Fixes

  • add esm to 'files' in package.json (fc1ba07)
  • clean esm folder as well (0a10a6e)

Features

  • emit code in ES Module mode (464642e)