JoeJ
Convex Communityβ€’3y agoβ€’
8 replies
Joe

usePaginatedQuery in next.js api route -- cannot read properties of null (reading 'useMemo')

Hello, I'm trying to test out paginated queries in a next.js api route, but I'm running into an error using an example function. Is there any advice for how to debug or is this not an appropriate use of usePaginatedQuery, if so, is there a way to use pagination in an api route? Thanks!
image.png
Was this page helpful?