useSuspenseQuery when offline
What is the correct way to use useSuspenseQuery when offline?
I am using the
experimental_createPersister
so the network mode is set to offlineFirst
. Whenever I render this when offline, and no data is persisted yet, the suspense fallback (LoadingComponent
) keeps showing. Instead I want a placeholder to tell the user they are offline and they should retry when online.
0 Replies