💣 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
touseSubscription
until the first data event is received. - Added
initialData
touseSubscription
options to provide an initial data. - Subscription forwarder can now be asynchronous.
- Added
onData
andonError
hooks on the return type ofuseQuery
, so you can register multiple hooks anytime. Read more here.