We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 963c3f6 commit 9ef8804Copy full SHA for 9ef8804
docs/src/pages/guides/paginated-queries.md
@@ -36,7 +36,7 @@ function Todos() {
36
data,
37
isFetching,
38
isPreviousData,
39
- } = useQuery(['projects', page], () => fetchProjects(page))
+ } = useQuery(['projects', page], () => fetchProjects(page), { keepPreviousData : true })
40
41
return (
42
<div>
0 commit comments