Hi I'm tryinig to understand he cursors & pagi...
# prisma-whats-new
r
Hi I'm tryinig to understand he cursors & pagination when it comes to `relay`: So by telling the query
first: 10
it will only fetch the first 10 nodes and if I have passed
first: 10 after: "cursor-10"
when the user has scrolled through the first 10 nodes a fetch for the next 10 will happen? Is that the correct understanding of the concept? I'm a little confused and want to make sure I'm tracking what is happening.
n
@rockchalkwushock hey 👋 sounds like your understanding is correct. This article hopefully helps, too: https://www.graph.cool/docs/faq/cursor-based-pagination-with-graphql-viez1oosek/ 🙂
r
Thanks @nilan
Is there any plan to update or make a tutorial for
relay modern
I go to looking at it last night and there is quite a difference in what is available in the API. Right now all I find is what FB has put out.
n
Definitely! 🙂 We'll publish more information regarding Relay Modern in the coming days
r
ok awesome. thanks for the great support here btw!
very fast and knowledgeable
n
cheers! 🙂 Thanks for being part of the community graphcool graphql