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
My use case is the following: I have a settings page which the user might use when outside the reach of connection so I need to build that component offline-first. I store the queries as per the docs (with createAsyncStoragePersister and PersistQueryClientProvider) and once the user comes back online, the requests are resent. The thing is the user might already be on another screen at that time and it's imperative that I show the the result of their changes.
Hence comes the idea: be able to access the requests queue and the responses from it in a consistent and reliable manner with states like queueLength, isCompleted... Something like this. It's important to be able to tell when the full queue has been executed, to access the full response data.
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
-
My use case is the following: I have a settings page which the user might use when outside the reach of connection so I need to build that component offline-first. I store the queries as per the docs (with createAsyncStoragePersister and PersistQueryClientProvider) and once the user comes back online, the requests are resent. The thing is the user might already be on another screen at that time and it's imperative that I show the the result of their changes.
Hence comes the idea: be able to access the requests queue and the responses from it in a consistent and reliable manner with states like
queueLength
,isCompleted
... Something like this. It's important to be able to tell when the full queue has been executed, to access the full response data.Beta Was this translation helpful? Give feedback.
All reactions