SIGN IN SIGN UP
TanStack / query UNCLAIMED

🤖 Powerful asynchronous state management, server-state utilities and data fetching for the web. TS/JS, React Query, Solid Query, Svelte Query and Vue Query.

0 0 0 TypeScript

feat(useInfiniteQuery): new maxPages option (#4984)

* feat(useInfiniteQuery): new maxPages option

* fix: pnpm lock file

I had to create an .npmrc file with link-workspace-packages = false to generate a lock file consistent with the previous version

* chore(examples): remove unused about file

* test: check if the query has been fetched exactly twice

* refactor: use util functions addToEnd addToStart

* docs(example): rename example and update config.json

* docs(reference): maxPages

* docs(guide): infinite-queries: maxPages example
A
Arnaud committed
84ae16bab06b25e26a8e98aa36b9310793ece3ef
Parent: 35055d7
Committed by GitHub <noreply@github.com> on 2/15/2023, 4:29:34 PM