persistQueryClient for Offline Mode
Has anyone tried to use the persist query client plugin to implement an offline mode in a react native project?.
I'm a little confused on how to use persistQueryClientSuscribe and persistQueryClientRestore so when the phone detects no services suggest to the user to activate Offline Mode, then hydrate with the persisted client.
More details in this discussion that I opened: https://github.com/TanStack/query/discussions/4342
GitHub
React Native Offline Mode, Online First · Discussion #4342 · TanSta...
Hello!, I'm developing a React Native App using TRPC and React Query. I'm trying to replicate something similar to the Spotify offline behavior, where users can download some specif...
0 Replies