TanStack Query v3 Documentation
TanStack Query (formerly React Query) v3 documentation for server state management, data fetching, caching, queries, mutations, and React integration.
Documentation Structure
contents/framework/react/
├── guides/ # Core concepts and how-to guides (29 files)
├── reference/ # API reference for hooks and classes (19 files)
├── plugins/ # Plugin documentation (4 files)
└── [root] # Setup, overview, and getting started (7 files)
Topic Guide
| Topic |
Key Files |
| Getting Started |
contents/framework/react/installation.md, contents/framework/react/quick-start.md, contents/framework/react/overview.md |
| Queries (Fetching) |
contents/framework/react/guides/queries.md, contents/framework/react/guides/query-keys.md, contents/framework/react/guides/query-functions.md |
| Mutations (Updates) |
contents/framework/react/guides/mutations.md, contents/framework/react/reference/useMutation.md |
| Caching & Invalidation |
contents/framework/react/guides/caching.md, contents/framework/react/guides/query-invalidation.md, contents/framework/react/guides/important-defaults.md |
| Optimistic Updates |
contents/framework/react/guides/optimistic-updates.md, contents/framework/react/guides/updates-from-mutation-responses.md |
| Pagination |
contents/framework/react/guides/paginated-queries.md, contents/framework/react/guides/infinite-queries.md |
| SSR & Suspense |
contents/framework/react/guides/ssr.md, contents/framework/react/guides/suspense.md, contents/framework/react/reference/hydration.md |
| API Reference |
contents/framework/react/reference/useQuery.md, contents/framework/react/reference/QueryClient.md |
| TypeScript |
contents/framework/react/typescript.md |
| Testing |
contents/framework/react/guides/testing.md |
| Migration |
contents/framework/react/guides/migrating-to-react-query-3.md |
When to use
Use this skill when the user asks about:
- TanStack Query v3 / React Query v3
- Server state management and data fetching
- Queries, mutations, and cache management
- Query invalidation and refetching
- Optimistic updates
- Infinite scrolling and pagination
- SSR, hydration, and Suspense with React Query
- React Query hooks (useQuery, useMutation, etc.)
- QueryClient and cache configuration
- TypeScript with React Query v3
How to find information
- Use Topic Guide above to identify relevant files
- Read
TOC.md for complete file listing by directory
- Read specific files from
contents/framework/react/{path}
1---2name: olore-tanstack-query-33description: Local TanStack Query v3 (React Query) documentation reference. Server state management, data fetching, caching, queries, mutations, and React integration.4metadata:5 source: https://skillmd.com/skills/olorehq/olore-tanstack-query-36---78# TanStack Query v3 Documentation910TanStack Query (formerly React Query) v3 documentation for server state management, data fetching, caching, queries, mutations, and React integration.1112## Documentation Structure1314```15contents/framework/react/16├── guides/ # Core concepts and how-to guides (29 files)17├── reference/ # API reference for hooks and classes (19 files)18├── plugins/ # Plugin documentation (4 files)19└── [root] # Setup, overview, and getting started (7 files)20```2122## Topic Guide2324| Topic | Key Files |25|-------|-----------|26| Getting Started | `contents/framework/react/installation.md`, `contents/framework/react/quick-start.md`, `contents/framework/react/overview.md` |27| Queries (Fetching) | `contents/framework/react/guides/queries.md`, `contents/framework/react/guides/query-keys.md`, `contents/framework/react/guides/query-functions.md` |28| Mutations (Updates) | `contents/framework/react/guides/mutations.md`, `contents/framework/react/reference/useMutation.md` |29| Caching & Invalidation | `contents/framework/react/guides/caching.md`, `contents/framework/react/guides/query-invalidation.md`, `contents/framework/react/guides/important-defaults.md` |30| Optimistic Updates | `contents/framework/react/guides/optimistic-updates.md`, `contents/framework/react/guides/updates-from-mutation-responses.md` |31| Pagination | `contents/framework/react/guides/paginated-queries.md`, `contents/framework/react/guides/infinite-queries.md` |32| SSR & Suspense | `contents/framework/react/guides/ssr.md`, `contents/framework/react/guides/suspense.md`, `contents/framework/react/reference/hydration.md` |33| API Reference | `contents/framework/react/reference/useQuery.md`, `contents/framework/react/reference/QueryClient.md` |34| TypeScript | `contents/framework/react/typescript.md` |35| Testing | `contents/framework/react/guides/testing.md` |36| Migration | `contents/framework/react/guides/migrating-to-react-query-3.md` |3738## When to use3940Use this skill when the user asks about:41- TanStack Query v3 / React Query v342- Server state management and data fetching43- Queries, mutations, and cache management44- Query invalidation and refetching45- Optimistic updates46- Infinite scrolling and pagination47- SSR, hydration, and Suspense with React Query48- React Query hooks (useQuery, useMutation, etc.)49- QueryClient and cache configuration50- TypeScript with React Query v35152## How to find information53541. Use Topic Guide above to identify relevant files552. Read `TOC.md` for complete file listing by directory563. Read specific files from `contents/framework/react/{path}`