You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(onStoreChange)=>{constunsubscribe=isRestoring
? ()=>undefined
: observer.subscribe(notifyManager.batchCalls(onStoreChange))// Update result to make sure we did not miss any query updates// between creating the observer and subscribing to it.observer.updateResult()returnunsubscribe},
The text was updated successfully, but these errors were encountered:
notifyManager
in RQ is used to batch calls together and optimise re-renders is there a reason this is dropped in this library?jotai-tanstack-query/src/baseAtomWithQuery.ts
Line 107 in 4bd5475
jotai-tanstack-query/src/atomWithMutation.ts
Line 76 in 4bd5475
Versus the tanstack repos own
useMutation
&
useBaseQuery
observer subbing codeThe text was updated successfully, but these errors were encountered: