Using cursor-based pagination for feed posts api
Opened this issue · 2 comments
MTG2000 commented
Using cursor-based pagination for feed posts api
MTG2000 commented
If someone creates a new post while someone else is scrolling through the feed, then the skip
parameter for the feed pagination query will be off by 1.
Meaning that the item fetched at the end of a page, will be fetched again at the beginning of the next page.
So to solve this issue, we can use cursor based pagination
johnsBeharry commented
Great problem to have! People posting while others are scrolling 😄