Skip to content

v3.0.0

Compare
Choose a tag to compare
@logaretm logaretm released this 21 Mar 13:25
· 42 commits to main since this release

πŸ’£ Breaking Changes

This release contains minor breaking changes, mainly subscriptions reducer arguments order being flipped and onSuccess hook being renamed.

You can read how to migrate by checking this guide.

πŸ†• New features

  • Added isFetching to useSubscription until the first data event is received.
  • Added initialData to useSubscription options to provide an initial data.
  • Subscription forwarder can now be asynchronous.
  • Added onData and onError hooks on the return type of useQuery, so you can register multiple hooks anytime. Read more here.