T
tRPC

pagination - Offset Method

pagination - Offset Method

Eezalorsara4/27/2023
Hi trpc has pagination example but only using cursor https://trpc.io/docs/reactjs/useinfinitequery Is there an example there that use offset pagination https://www.prisma.io/docs/concepts/components/prisma-client/pagination Or is it not supported by trpc useInfiniteQuery. Thank you
AKAlex / KATT šŸ±4/27/2023
we wouldn't use useInfiniteQuery then i think look at https://tanstack.com/query/v4/docs/react/guides/paginated-queries

Looking for more? Join the community!

T
tRPC

pagination - Offset Method

Join Server