Skip to content

Commit ced9a9b

Browse files
committed
Merge branch 'beta' of https://github.com/tannerlinsley/react-query into beta
2 parents 26db5a4 + db30199 commit ced9a9b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/src/pages/guides/migrating-to-react-query-3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const queryClient = new QueryClient({
7171

7272
Query functions now get a `QueryFunctionContext` instead of the query key parameters.
7373

74-
The `QueryFunctionContext` contains a `queryKey` and a `pageParam` in case of ininite queries.
74+
The `QueryFunctionContext` contains a `queryKey` and a `pageParam` in case of infinite queries.
7575

7676
useQuery:
7777

docs/src/pages/guides/paginated-queries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ function Todos() {
3636
data,
3737
isFetching,
3838
isPreviousData,
39-
} = useQuery(['projects', page], () => fetchProjects(page))
39+
} = useQuery(['projects', page], () => fetchProjects(page), { keepPreviousData : true })
4040

4141
return (
4242
<div>

0 commit comments

Comments
 (0)