graphql-apollo-client
Installation
SKILL.md
Apollo Client Skill
Master GraphQL in React applications
Overview
Learn to integrate Apollo Client with React, including hooks, cache management, optimistic updates, and real-time subscriptions.
Quick Reference
| Hook | Purpose | Returns |
|---|---|---|
useQuery |
Fetch data | { data, loading, error, refetch } |
useMutation |
Modify data | [mutate, { data, loading, error }] |
useSubscription |
Real-time | { data, loading, error } |
useLazyQuery |
On-demand fetch | [execute, { data, loading }] |
Related skills
More from pluginagentmarketplace/custom-plugin-graphql
graphql-codegen
Generate TypeScript types and React hooks from GraphQL schemas
18graphql-security
Secure GraphQL APIs - authentication, authorization, rate limiting, and validation
10graphql-fundamentals
Master GraphQL core concepts - types, queries, mutations, and subscriptions
7graphql-apollo-server
Build production GraphQL servers with Apollo Server, plugins, and federation
6graphql-resolvers
Write efficient resolvers with DataLoader, batching, and N+1 prevention
5graphql-schema-design
Design production-grade GraphQL schemas with best practices and patterns
5