Skip to content

Pagination based on the cursor #1227

Answered by kitten
NurdinDev asked this question in Q&A
Dec 12, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

This isn't a very precise question; 😅 however, if this is about how to actually paginate then you pass the cursor variable. If this is about infinite scroll pagination, then this pattern works well: https://twitter.com/benawad/status/1303503308271816711?s=21

If you use Graphcache then there's a dedicated helper that can do infinite scroll pagination automatically

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@NurdinDev
Comment options

@kitten
Comment options

Answer selected by NurdinDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants