# apollo-client

> Claude/Codex skill by [@apollographql](https://omgskills.com/library/apollographql/index.md) · 105 stars · Updated 2026-07-29

Guide for building React applications with Apollo Client 4.x. Use this skill when: (1) setting up Apollo Client in a React project, (2) writing GraphQL queries or mutations with hooks, (3) configuring caching or cache policies, (4) managing local state with reactive variables, (5) troubleshooting Apollo Client errors or performance issues.

Tags: agent-skills, apollo, graphql

## Install

```sh
git clone https://github.com/apollographql/skills /tmp/skills && ln -s /tmp/skills/skills/apollo-client ~/.claude/skills/apollo-client
```

## From README

Apollo Client 4.x Guide Apollo Client is a comprehensive state management library for JavaScript that enables you to manage both local and remote data with GraphQL. Version 4.x brings improved caching, better TypeScript support, and React 19 compatibility. Integration Guides Choose the integration guide that matches your application Client-Side Apps - For client-side React applications without SSR (Vite, Create React App, etc.) Next.js App Router - For Next.js applications using the App Router with React Server Components React Router Framework Mode - For React Router 7 applications with streaming SSR TanStack Start - For TanStack Start applications with modern routing Each guide includes steps, configuration, and framework-specific patterns optimized for that environment.

## Links

- HTML page: https://omgskills.com/library/apollographql/skills/apollo-client/
- GitHub: https://github.com/apollographql/skills
- Author: [@apollographql](https://omgskills.com/library/apollographql/index.md)

## More from this repo

- [apollo-client](https://omgskills.com/library/apollographql/skills/skills/apollo-client/index.md) — Guide for building React applications with Apollo Client 4.x.
   - [@apollographql](https://omgskills.com/library/apollographql/index.md) · 123 stars
- [apollo-connectors](https://omgskills.com/library/apollographql/skills/apollo-connectors/index.md) — DEPRECATED: superseded by the graphos-factory skill (npx skills add apollographql/skills@graphos-factory), which builds...
   - [@apollographql](https://omgskills.com/library/apollographql/index.md) · 123 stars
- [apollo-federation](https://omgskills.com/library/apollographql/skills/skills/apollo-federation/index.md) — Guide for authoring Apollo Federation subgraph schemas.
   - [@apollographql](https://omgskills.com/library/apollographql/index.md) · 123 stars
