Skip to content

Commit 2d2de44

Browse files
authored
docs: fix the typo in persistQueryClient.md (#3768)
Update subtitle `PeristQueryClientProvider` to `PersistQueryClientProvider`.
1 parent 295f553 commit 2d2de44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/plugins/persistQueryClient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ persistQueryClient({
175175
ReactDOM.createRoot(rootElement).render(<App />)
176176
```
177177

178-
### PeristQueryClientProvider
178+
### PersistQueryClientProvider
179179

180180
For this use-case, you can use the `PersistQueryClientProvider`. It will make sure to subscribe / unsubscribe correctly according to the React component lifecycle, and it will also make sure that queries will not start fetching while we are still restoring. Queries will still render though, they will just be put into `fetchingState: 'idle'` until data has been restored. Then, they will refetch unless the restored data is _fresh_ enough, and _initialData_ will also be respected. It can be used _instead of_ the normal [QueryClientProvider](../reference/QueryClientProvider):
181181

0 commit comments

Comments
 (0)