github logaretm/villus v3.0.0

latest releases: v3.5.1, v3.5.0, v3.4.0...
20 months ago

💣 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.

Don't miss a new villus release

NewReleases is sending notifications on new releases.