RJR
Convex Community15mo ago
7 replies
RJ

`useNextPrevPaginatedQuery`

Hey all—I published to
npm
a little React hook for performing a more traditional form of pagination than what Convex offers by default via
usePaginatedQuery
. This hook, called
useNextPrevPaginatedQuery
, only loads one page of results at a time, and exposes functions for loading next/prev pages in the paginated result set. Check it out on GitHub or npm.
Was this page helpful?