Pagination and Infinite Scrolling in Apollo Client
Slava Kim
2562

How would you solve the following case:

  • You have a list of items (Page A)
  • You have a detail page for an item (Page B)

You fetched more the list of items (A), click on one which you are interested in (B) to then come back to the list of items (A). How would your solution cope with scrolling to the last position of the page (A) ? Should you load from the last position, reload everything till that point or anything else ?

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.