v3.0.0
π£ 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
isFetchingtouseSubscriptionuntil the first data event is received. - Added
initialDatatouseSubscriptionoptions to provide an initial data. - Subscription forwarder can now be asynchronous.
- Added
onDataandonErrorhooks on the return type ofuseQuery, so you can register multiple hooks anytime. Read more here.