From d6dacbfa6ca3622ee86087b41f7959f77dfe8866 Mon Sep 17 00:00:00 2001 From: ericbiewener Date: Fri, 7 Oct 2022 11:54:29 -0700 Subject: [PATCH] docs: `usePaginatedQuery` was removed in v3, not just deprecated (#4279) --- docs/guides/migrating-to-react-query-3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/migrating-to-react-query-3.md b/docs/guides/migrating-to-react-query-3.md index af04f53458..6675e9474e 100644 --- a/docs/guides/migrating-to-react-query-3.md +++ b/docs/guides/migrating-to-react-query-3.md @@ -152,7 +152,7 @@ useInfiniteQuery(['posts'], (_key, pageParam = 0) => fetchPosts(pageParam)) useInfiniteQuery(['posts'], ({ pageParam = 0 }) => fetchPosts(pageParam)) ``` -### usePaginatedQuery() has been deprecated in favor of the `keepPreviousData` option +### usePaginatedQuery() has been removed in favor of the `keepPreviousData` option The new `keepPreviousData` options is available for both `useQuery` and `useInfiniteQuery` and will have the same "lagging" effect on your data: