Apollo Client
Caching GraphQL client for fetching, caching and managing remote data.
State and data fetching npm MIT
Used in agent projects
46
0.4% of 12,697 public repos built with AI coding agents
Rank in state and data fetching
#11 of 20
by use in those projects
Downloads
6.2M
npm, last 7 days, @apollo/client
GitHub stars
19.8K
last push Oct 10, 2026
How Apollo Client is used
Apollo Client is a dependency in 46 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.4%), #11 of 20 in state and data fetching. The most used alternative there is TanStack Query. Projects that use it most often also use GraphQL.js (80.4%), React (95.7%), Axios (47.8%).
Often used with Apollo Client
| GraphQL.js | 80.4% of Apollo Client projects · 97.3× more than average |
|---|---|
| React | 95.7% of Apollo Client projects · 2.2× more than average |
| Axios | 47.8% of Apollo Client projects · 4.8× more than average |
| Testing Library | 39.1% of Apollo Client projects · 5.4× more than average |
| ethers.js | 37.0% of Apollo Client projects · 8.2× more than average |
| wagmi | 37.0% of Apollo Client projects · 7.2× more than average |
| TypeScript | 87.0% of Apollo Client projects · 1.6× more than average |
| uuid | 34.8% of Apollo Client projects · 9.7× more than average |
By coding agent
| Cursor | 0.5% of projects set up for it |
|---|---|
| Claude Code | 0.3% of projects set up for it |
| GitHub Copilot | 0.2% of projects set up for it |
Share of public repos configured for each agent that list Apollo Client as a dependency.
Install
| Package | npm install @apollo/client |
|---|---|
| Packages counted | @apollo/client, @apollo/server, @apollo/client-integration-nextjs, @apollo/subgraph, @apollo/experimental-nextjs-app-support, @apollo/client-integration-tanstack-start, @apollo/react-hooks |
| Main stacks | TypeScript / JavaScript (25), Next.js (20), React Native / Expo (1) |
| Example projects | Grape-Labs/grape-art, zennomi/nftverse-frontend, alkem-io/server, solana-nft-programs/rental-ui, JesusFilm/core |
Alternatives to Apollo Client
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| TanStack Query npm Hooks for managing, caching and synchronizing remote data in React. |
1,217 (9.6%) | 65.8M | 50.4K | MIT |
| Zustand npm Lightweight state management for React with minimal boilerplate. |
752 (5.9%) | 60.8M | 58.8K | MIT |
| RxJS npm Reactive programming library for composing async events and data streams in JavaScript. |
176 (1.4%) | 104M | 31.7K | Apache-2.0 |
| React Redux npm Official React bindings for Redux state management with hooks. |
135 (1.1%) | 39.2M | 23.4K | MIT |
| Jotai npm Minimal React state management with atoms as primitive building blocks for flexibility. |
124 (1.0%) | 6.6M | 21.3K | MIT |
| SWR npm React hooks library for data fetching with caching, revalidation and real-time updates. |
123 (1.0%) | 18.8M | 32.5K | MIT |
| Redux Toolkit npm Official Redux library with built-in best practices and reduced boilerplate for state management. |
120 (0.9%) | 32.6M | 11.2K | MIT |
| Immer npm Immutable state management by mutating a draft in a simpler API. |
77 (0.6%) | 64.6M | 29K | MIT |