JamalJ
Convex Community2y ago
1 reply
Jamal

SSR with Next.js and Pagination

i didnt realize until today that convex had helpers for nextjs server side. This might make me rewrite some of my components into rsc and use these and not the normal client hooks.

So for this function https://docs.convex.dev/api/modules/nextjs#preloading-data (preloadQuery) can we also do usePaginatedQuery ? Right now im using this on my client side and want to see if i can make this change.
Helpers for integrating Convex into Next.js applications using server rendering.
Module: nextjs | Convex Developer Hub
Was this page helpful?