TanStackT
TanStack2y ago
1 reply
sad-indigo

Knowing the current page of `useInfiniteQuery`

We're implementing a text search interface that lists up to 10 results from a starting timestamp and query, so we can bi-directionally search. Is there a good way of knowing what our current page is? I've skimmed the docs and probably missed something but the only thing that comes to mind is a local state variable.
Was this page helpful?