sircheferoo
sircheferoo
CCConvex Community
Created by sircheferoo on 12/8/2024 in #support-community
Convex Paginated Query with TanStack React Query
Is there out of the box support for Convex paginated queries with React Query? Or do we need to handle it ourselves?
const { data, isPending, error } = useQuery(
// convexQuery(api.functions.myQuery, { id: 123 }),
convexPaginatedQuery(api.functions.myPaginatedQuery, { id: 123 }), // Something like this?
);
const { data, isPending, error } = useQuery(
// convexQuery(api.functions.myQuery, { id: 123 }),
convexPaginatedQuery(api.functions.myPaginatedQuery, { id: 123 }), // Something like this?
);
7 replies