Skip to content

Commit a1584d3

Browse files
docs(persistQueryClient): clarify restoration
1 parent c4651b1 commit a1584d3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/src/pages/plugins/persistQueryClient.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ persistQueryClient({ queryClient, persister, buster: buildHash })
7070

7171
When you reload/bootstrap your app:
7272

73-
- Attempts to [`hydrate`](../reference/hydration#hydrate) a previously persisted dehydrated query/mutation cache from the persister back into the query cache.
73+
- Attempts to [`hydrate`](../reference/hydration#hydrate) a previously persisted dehydrated query/mutation cache from the persister back into the query cache of the passed query client.
7474
- If a cache is found that is older than the `maxAge` (which by default is 24 hours), it will be discarded. This can be customized as you see fit.
7575

7676
### Removal
@@ -81,7 +81,7 @@ When you reload/bootstrap your app:
8181

8282
### `persistQueryClientRestore`
8383

84-
This will attempt to restore a persister's stored cached to the active query cache.
84+
This will attempt to restore a persister's stored cached to the query cache of the passed queryClient.
8585

8686
```ts
8787
persistQueryClientRestore({

0 commit comments

Comments
 (0)