apollo-client

Official

Build React apps with Apollo Client 4.x.

Authorsimnova
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill guides setting up Apollo Client 4.x in React projects to enable efficient GraphQL data management, caching, and local state handling.

Core Features & Use Cases

  • Apollo Client setup: Bootstrap a client with InMemoryCache and HttpLink for React apps.
  • Data fetching & state management: Use GraphQL queries and mutations with React hooks, and manage local state with reactive variables.
  • Caching & performance: Configure cache policies, type policies, and data masking to optimize performance across frameworks like Next.js, Vite, and CRA.

Quick Start

  • Install dependencies: npm install @apollo/client graphql rxjs
  • Create an ApolloClient with InMemoryCache and HttpLink
  • Wrap your application with ApolloProvider and initialize a basic query

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: apollo-client
Download link: https://github.com/simnova/sharethrift/archive/main.zip#apollo-client

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.