apollographql /apollo-client
The industry-leading GraphQL client for TypeScript, JavaScript, React, Vue, Angular, and more. Apollo Client delivers powerful caching, intuitive APIs, and comprehensive developer tools to accelerate your app development.
★ 19,778⑂ 2,808👁 285⑃ 7,535● 5,482▤ 298
-1
Daily
19,778
stars
2,808
forks
285
watchers
7,535
prs
5,482
issues
298
releases
README
Apollo Client The industry-leading GraphQL client for TypeScript, JavaScript, React, Vue, Angular, and more. Apollo Client delivers powerful caching, intuitive APIs, and comprehensive developer tools to accelerate your app development. ➡️ Get Started with Apollo Client → ❓ Why Choose Apollo Client? ✅ Zero-config caching - Intelligent caching out of the box ✅ Framework agnostic - Works with React, Vue, Angular, Svelte, and vanilla JavaScript ✅ TypeScript-first - Full type safety and IntelliSense support ✅ React 19 ready - Supports Suspense, RSC, Compiler, and more ✅ Production-tested - Powers countless apps worldwide that serve millions of end users 🚀 Quick Start sh npm install @apollo/client graphql Apollo Client Skill Give your AI agent specialized Apollo Client knowledge and setup guidance: sh npx skills add apollographql/skills --skill apollo-client 💡 Resources | Resource | Description | Link | | ------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Getting Started Guide | Complete setup and first query | Start Here → | | Full Documentation | Comprehensive guides and examples | Read Docs → | | API Reference | Complete API documentation | Browse API → | | VS Code Extension | Enhanced development experience | Install Extension → | | DevTools | Debug your GraphQL apps | Chrome \| Firefox | | Free Course | Learn GraphQL and Apollo Client | Take Course → | 💬 Get Support Need help? We're here for you: - Community Forum \- Q\&A and discussions - GraphQL Discord \- Real-time chat with the community 🧑🚀 About Apollo Deliver tomorrow's roadmap today with our comprehensive suite of API orchestration tools: - Apollo Client \- Type-safe apps with GraphQL-powered on-device caching (React, iOS, Kotlin) - Apollo Connectors \- Compose all your GraphQL and REST APIs into one GraphQL endpoint - Apollo MCP Server \- AI needs APIs. The fastest way to ship reliable AI experiences - Apollo Router \- Scale your APIs seamlessly with GraphQL Federation, Security, Auth, and more - GraphOS \- Deploy, manage, govern, and explore your APIs (start for free, no credit card needed) Explore the Complete Apollo Platform → 🛠️ Maintained by | Name
Top issues
#5419refetchQueries not working when using string array after mutation104 comments · 2019-10-08#5963useMutation updates cache but does not re-render components querying same object60 comments · 2020-02-18#8063Query data and error are undefined47 comments · 2021-04-27#7081MockedProvider does not return mocks in a storybook.39 comments · 2020-09-27#9602Loading stuck always true after sending request when using useMutation hook 🤔36 comments · 2022-04-16#10974nextjs release breaks server component use of Apollo query latest release34 comments · 2023-06-14#4644Errors lost on cached results27 comments · 2019-03-29#7060cache.modify INVALIDATE doesn't result in query refetching data24 comments · 2020-09-23
Latest release
@apollo/[email protected] @apollo/[email protected] 2026-11-09Patch Changes - 13470 6bc13c8 Thanks @phryneas! - Add a new option, batchHybridRequests to BatchHttpLink. This allows it to combine persisted and non-persisted queries in one shared batch.