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
I've been looking at createCollection and queryCollectionOptions. These look really useful for when a user is online and has the app open. However, coming from a react native perspective I'm a bit unsure how one might be able to persist uncompleted mutations in the event the app is fully closed and then re-opened. Or, if a user opens the app and doesn't immediately have internet access. How might one cache the response from queryFn or populate an initial state?
With Tanstack Query we've been able to use createSyncStoragePersister as well as the ability to resumePausedMutations on app restart.
I think this issue kind of touches on what I'm concerned with : #82. Is it the case that this area is a work in progress?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
I've been looking at
createCollection
andqueryCollectionOptions
. These look really useful for when a user is online and has the app open. However, coming from a react native perspective I'm a bit unsure how one might be able to persist uncompleted mutations in the event the app is fully closed and then re-opened. Or, if a user opens the app and doesn't immediately have internet access. How might one cache the response fromqueryFn
or populate an initial state?With Tanstack Query we've been able to use
createSyncStoragePersister
as well as the ability toresumePausedMutations
on app restart.I think this issue kind of touches on what I'm concerned with : #82. Is it the case that this area is a work in progress?
Beta Was this translation helpful? Give feedback.
All reactions