t3 app doesn't work offline

In the older versions before this renaming and from trpc. To api. I could work offline (turning off my wifi connection) using my local database on my machine But of recent i have observed that the whole app doesn't read or write when they is no network connection But once i connect to the internet it automatically loads everything and gets in sync with all the queries etc made offline So basically nothing works when you have no internet connection
3 Replies
CaptainStarz
CaptainStarz2y ago
Network Mode | TanStack Query Docs
TanStack Query provides three different network modes to distinguish how Queries and Mutations should behave if you have no network connection. This mode can be set for each Query / Mutation individually, or globally via the query / mutation defaults. Since TanStack Query is most often used for data fetching in combination with data fetching l...
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
ApatheticSentencing#0001
Has anyone found a solution for this? I'm also trying to work offline
Want results from more Discord servers?
Add your server