How would you solve the following case:
Flavien Volken
1

Apollo Client caches all the query results, so when you come back from view B, all the data for view A is already in the cache and the page can be re-rendered without a trip to the server. The cache doesn’t care if you fetched the data in a single query or with many calls to fetchMore.

If you used the back-button in the browser to get back to page A, the browser should automatically scroll the viewport to the previous position, so you can keep scrolling seamlessly.

Like what you read? Give Jonas Helfer a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.