From ca368e4810979c4995a03c24b664ef6597474b23 Mon Sep 17 00:00:00 2001 From: Dominik Dorfmeister Date: Thu, 18 Nov 2021 17:45:44 +0100 Subject: [PATCH] Apply suggestions from code review --- docs/src/pages/guides/migrating-to-react-query-4.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/src/pages/guides/migrating-to-react-query-4.md b/docs/src/pages/guides/migrating-to-react-query-4.md index 842270cf7d..01a7d79c84 100644 --- a/docs/src/pages/guides/migrating-to-react-query-4.md +++ b/docs/src/pages/guides/migrating-to-react-query-4.md @@ -132,11 +132,11 @@ If you were importing anything from `'react-query/react'` directly in your proje + import { QueryClientProvider } from 'react-query/reactjs'; ``` -### `persistQueryClient` and its sister plugins are no longer expermental and have been renamed +### `persistQueryClient` and the corresponding persister plugins are no longer experimental and have been renamed The plugins `createWebStoragePersistor` and `createAsyncStoragePersistor` have been renamed to [`createWebStoragePersister`](/plugins/createWebStoragePersister) and [`createAsyncStoragePersister`](/plugins/createAsyncStoragePersister) respectively. The interface `Persistor` in `persistQueryClient` has also been renamed to `Persister`. Checkout [this stackexchange](https://english.stackexchange.com/questions/206893/persister-or-persistor) for the motivation of this change. -Since these plugins are no longer experimental, there import paths have also been updated: +Since these plugins are no longer experimental, their import paths have also been updated: ```diff - import { persistQueryClient } from 'react-query/persistQueryClient-experimental'