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
Try changing network mode https://tanstack.com/query/v4/docs/react/guides/network-mode
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•2y ago
Message Not Public
Sign In & Join Server To View
Has anyone found a solution for this? I'm also trying to work offline