Stale data after implementing `persist`
I've recently started to use
My queryClient is as follows:
If I look in the localstorage of my browser, I see that the dataUpdatedAt is 16 hours ago (which matches with the data it contains). Shouldn't the data be considered stale when fetching it form localstorage, after which a refetch should occur?
createSyncStoragePersister to persist my queryClient for some queries. But since then, some queries don't seem to refetch at all. An example:My queryClient is as follows:
If I look in the localstorage of my browser, I see that the dataUpdatedAt is 16 hours ago (which matches with the data it contains). Shouldn't the data be considered stale when fetching it form localstorage, after which a refetch should occur?