1. React
  2. ReactFoo
  3. 2019
  4. Deep Dive into Apollo Client

Deep Dive into Apollo Client

Kiran Abburi at ReactFoo 2019

Apollo is the most popular GraphQL client library at the moment. It significantly reduces boilerplate code for fetching data, showing loading status, handling updates to existing objects in cache. But, it can’t handle scenarios like creating new objects, deleting objects and real-time updates automatically. It requires significat amount of code to handle these scenarios and, sometimes, requires more effort than other solutions. In this talk, I will present how to leverage customizable cache and link interface of Apollo to simplify logic for these scenarios. We might also hit performance issues with Apollo as the number and size of queries increase. I will talk about how to debug and fix these performance issues