10 Using GraphQL APIs with Apollo client
This chapter covers
- Using Apollo Client in plain JavaScript and React
- Understanding Apollo’s links and cache
- Using Apollo’s hook functions for queries and mutations
- Managing local app state with Apollo
- Implementing and using GraphQL subscriptions over WebSockets
Shortly after GraphQL implementations started getting attention on GitHub, another class of GraphQL libraries began to attract notice as well: client libraries.
GraphQL client libraries are designed to manage communications between frontend applications and backend GraphQL services. A client library abstracts the tasks of asking a GraphQL service for data, instructing it to do mutations, and making its data responses available to the view layer ...
Get GraphQL in Action now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.