Skip to content

Releases: streamich/react-use

v5.2.1

04 Jan 20:32
Compare
Choose a tag to compare

5.2.1 (2019-01-04)

Bug Fixes

  • use function to correctly update state in useToggle (d854d27)

v5.2.0

02 Jan 15:21
Compare
Choose a tag to compare

5.2.0 (2019-01-02)

Features

  • 🎸 add useKeyPress hook (01df885)
  • useKeyPress: allow complex bindings via key combos (e53a20f)

v5.1.2

29 Dec 15:27
Compare
Choose a tag to compare

5.1.2 (2018-12-29)

Bug Fixes

  • reset state when calling useEffect in useAsync (2f5af2c)

v5.1.1

20 Dec 08:56
Compare
Choose a tag to compare

5.1.1 (2018-12-20)

Bug Fixes

  • lock react and react-dom to a fixed version (#83) (455812d)

v5.1.0

19 Dec 23:03
Compare
Choose a tag to compare

5.1.0 (2018-12-19)

Bug Fixes

  • πŸ› just use any for setTimeout because of diff environments (55673cb)
  • πŸ› memoized does not receive arguments (244a533)
  • πŸ› use Timeout type for build to work (8c66abe)

Features

v5.0.0

17 Dec 17:48
Compare
Choose a tag to compare

5.0.0 (2018-12-17)

Features

  • 🎸 list all useAsync state props so that TS dont complain (7c1b107)
  • 🎸 remove experimental hooks (533e26f)
  • use discriminated union in useAsync (966af4a)

BREAKING CHANGES

  • useRenderProp and useAsync are removed

v4.11.1

16 Dec 10:07
Compare
Choose a tag to compare

4.11.1 (2018-12-16)

Bug Fixes

  • synchronously re-render bug of useRaf hook (#77) (5d74348)

v4.11.0

05 Dec 14:33
Compare
Choose a tag to compare

4.11.0 (2018-12-05)

Features

  • 🎸 add useRefMounted hook (dfb0510)

v4.10.0

10 Nov 22:34
Compare
Choose a tag to compare

4.10.0 (2018-11-10)

Features

v4.9.0

06 Nov 20:54
Compare
Choose a tag to compare

4.9.0 (2018-11-06)

Features