[DevTools]: Queries hidden when using PersistQueryClientProvider after persisting to disk #10285
-
|
I've noticed that when using a persisted query client, the dev tools will show queries show first time they're fetched (no local cache) <PersistQueryClientProvider
client={queryClient}
persistOptions={{ persister: createQueryPersister() }}
>Are there some options for the persist that would influence this? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Resolved this by migrating from whole-cache persistence (PersistQueryClientProvider) to per-query persistence (experimental_createQueryPersister from |
Beta Was this translation helpful? Give feedback.
Resolved this by migrating from whole-cache persistence (PersistQueryClientProvider) to per-query persistence (experimental_createQueryPersister from
@tanstack/query-persist-client-core).