Web Dev CodyW
Convex Community16mo ago
47 replies
Web Dev Cody

Understanding usePaginatedQuery

I'm trying to wrap my head around how to use a page based usePaginatedQuery, so basically if a user hits /posts?page=1 or /posts?page=2, I want to fetch 5 items and change the offset.

the usePaginatedQuery seems to be more like a lazy scroll type of thing. Maybe I'm missing something?
Was this page helpful?