Apollo Client fetches, caches, and updates GraphQL data in web apps, with first-class React support and hooks for queries, mutations, and local state.
Overview
Apollo Client is a GraphQL client and state management library for JavaScript and TypeScript. It coordinates remote GraphQL data with local application state and keeps the UI in sync when cached results change.
Declarative queries and mutations reduce hand-rolled loading logic. A normalized cache stores entities by identity so repeated requests can reuse data already on the device. Tooling includes TypeScript types, browser devtools, and editor integrations.
The core package ships with React integration, and community packages cover Vue, Angular, Svelte, Solid, and other view layers. It works against any GraphQL API and supports incremental adoption inside existing apps.
Documented capabilities include persisted queries, field-level defer for incremental responses, and subscription-based live updates, including when used with Apollo GraphOS routers or other compatible servers. Guides also cover fragments, local-only fields, auth headers, and component testing without a live backend.
Apollo publishes companion platform tools such as Apollo Router and GraphOS, but this client library itself is embedded in front-end or mobile code rather than run as a hosted service.
Key features
- Normalized GraphQL response cache
- React hooks and Suspense support
- TypeScript-first APIs
- Local and remote state together
- Query, mutation, and fragment helpers
- Defer and subscription client support
- Browser devtools integration
- Framework integrations beyond React
Use cases
- React apps on GraphQL backends
- Cached dashboard data fetching
- Real-time GraphQL subscriptions
- Incremental UI with deferred fields
- Type-safe API-driven front ends