Skip to content

Releases: rauldeheer/use-async-effect

2.2.6

10 Jun 09:34
Compare
Choose a tag to compare
  • Add React 18 to peer dependencies

2.2.5

13 Jan 11:32
4c9a227
Compare
Choose a tag to compare
  • Update Typescript and Flow types. Thanks @franciscop!

2.2.4

12 Jan 12:55
9aa8488
Compare
Choose a tag to compare

2.2.3

26 Feb 08:20
Compare
Choose a tag to compare

Fixes

2.2.2

30 Jan 18:32
Compare
Choose a tag to compare

Fixes

  • Fix stale isMounted, thanks @franciscop!
  • Ship ES5 sources

2.2.1

13 Sep 07:52
Compare
Choose a tag to compare

Features & improvements

  • Add default export, so can now use useAsyncEffect as a drop-in replacement for useEffect! 🔁

Fixes

  • Fix isMounted return value after dependency change, thanks @franciscop!

2.2.0

11 Sep 08:07
Compare
Choose a tag to compare

Features & improvements

  • Add isMounted function to async callbacks, thanks @franciscop! ⛰️
    • This is a breaking change, see #12

2.1.1

20 Jul 08:24
Compare
Choose a tag to compare

Fixes

  • Fix release tarball

2.1.0

23 Jun 12:26
Compare
Choose a tag to compare

Features & improvements

  • Add Flow types, thanks @FezVrasta! 👨‍🏫
  • Add ability to omit destory function 🙅

Other changes

  • Updated React peer dependency to ^16.8.0

2.0.1

18 Mar 09:43
701872f
Compare
Choose a tag to compare

Fixes a bug, where it crashes if destroy isn't passed. Adheres to the TypeScript typings, where destroy is optional - @JReinhold #3