tanstack-query Documentation
TanStack Query (React Query) documentation. Use for server state management, data fetching, caching, queries, mutations, and React/Vue/Solid/Svelte/Angular query integration.
Quick Reference
| Task |
Entry Point |
| React quick start |
contents/framework/react/quick-start.md |
| Angular quick start |
contents/framework/angular/quick-start.md |
| Vue quick start |
contents/framework/vue/quick-start.md |
| Solid quick start |
contents/framework/solid/quick-start.md |
| Core API (QueryClient) |
contents/reference/QueryClient.md |
| useQuery hook (React) |
contents/framework/react/reference/useQuery.md |
| useMutation hook (React) |
contents/framework/react/reference/useMutation.md |
| Caching guide |
contents/framework/react/guides/caching.md |
| SSR guide |
contents/framework/react/guides/ssr.md |
| ESLint plugin |
contents/eslint/eslint-plugin-query.md |
When to use
Use this skill when the user asks about:
- Fetching, caching, syncing, and updating server state with React, Vue, Solid, Svelte, or Angular
- useQuery, useMutation, useInfiniteQuery, useQueries, useSuspenseQuery hooks
- QueryClient methods (invalidateQueries, prefetchQuery, setQueryData, etc.)
- Query keys, query functions, and query options patterns
- Optimistic updates, mutations, and cache invalidation
- SSR, hydration, dehydration, and streaming with TanStack Query
- Background refetching, stale time, gc time, network mode
- Persistence plugins (localStorage, AsyncStorage, broadcastQueryClient)
- ESLint plugin rules for TanStack Query
- TypeScript usage with TanStack Query
How to find information
- First, read
TOC.md for complete file listing organized by directory
- Identify the relevant framework (react/angular/vue/solid/svelte) and topic
- Read specific files for details
TOC.md contains all files organized by directory — always check it first.
1---2name: olore-tanstack-query-5-90-33version: 5.90.34description: Local tanstack-query documentation reference (5.90.3). TanStack Query (React Query) documentation. Use for server state management, data fetching, caching, queries, mutations, and React/Vue/Solid/Angular query integration.5metadata:6 source: https://skillmd.com/skills/olorehq/olore-tanstack-query-5-90-37---89# tanstack-query Documentation1011TanStack Query (React Query) documentation. Use for server state management, data fetching, caching, queries, mutations, and React/Vue/Solid/Svelte/Angular query integration.1213## Quick Reference1415| Task | Entry Point |16|------|-------------|17| React quick start | `contents/framework/react/quick-start.md` |18| Angular quick start | `contents/framework/angular/quick-start.md` |19| Vue quick start | `contents/framework/vue/quick-start.md` |20| Solid quick start | `contents/framework/solid/quick-start.md` |21| Core API (QueryClient) | `contents/reference/QueryClient.md` |22| useQuery hook (React) | `contents/framework/react/reference/useQuery.md` |23| useMutation hook (React) | `contents/framework/react/reference/useMutation.md` |24| Caching guide | `contents/framework/react/guides/caching.md` |25| SSR guide | `contents/framework/react/guides/ssr.md` |26| ESLint plugin | `contents/eslint/eslint-plugin-query.md` |2728## When to use2930Use this skill when the user asks about:31- Fetching, caching, syncing, and updating server state with React, Vue, Solid, Svelte, or Angular32- useQuery, useMutation, useInfiniteQuery, useQueries, useSuspenseQuery hooks33- QueryClient methods (invalidateQueries, prefetchQuery, setQueryData, etc.)34- Query keys, query functions, and query options patterns35- Optimistic updates, mutations, and cache invalidation36- SSR, hydration, dehydration, and streaming with TanStack Query37- Background refetching, stale time, gc time, network mode38- Persistence plugins (localStorage, AsyncStorage, broadcastQueryClient)39- ESLint plugin rules for TanStack Query40- TypeScript usage with TanStack Query4142## How to find information43441. **First**, read `TOC.md` for complete file listing organized by directory452. Identify the relevant framework (react/angular/vue/solid/svelte) and topic463. Read specific files for details4748**TOC.md contains all files organized by directory — always check it first.**