Company
Date Published
Author
Slava Kim
Word count
772
Language
English
Hacker News points
None

Summary

Apollo Client is a GraphQL client that helps developers fetch data and organize their store. It provides an interface for showing part of a big list on the screen while loading it in the background, giving users the feeling of navigating seamlessly through infinite scrolling. To achieve this, Apollo Client introduced the `fetchMore` method on query observables, which allows applications to query additional data and update the original query result. The feature is designed to be flexible and configurable, allowing developers to choose their own pagination schema without imposing any requirements on their GraphQL server. This solution was the result of an extensive collaboration with the open-source community and aims to provide a seamless user experience while maintaining cache normalization benefits.