olorehq

olore-tanstack-query-4

Local TanStack Query documentation reference (v4). Use for server state management, data fetching, caching, queries, mutations, and React/Vue/Solid/Angular query integration.

olorehq 67 4 Updated 4mo ago

Resources

2
GitHub

Install

npx skillscat add olorehq/olore/olore-tanstack-query-4

Install via the SkillsCat registry.

SKILL.md

TanStack Query v4 Documentation

TanStack Query (formerly React Query) is a powerful library for server state management. This documentation covers v4 features including data fetching, caching, synchronization, queries, mutations, and framework integrations for React, Vue, Svelte, and Solid.

Quick Reference

Task Entry Point
Getting started with React contents/framework/react/quick-start.md
Getting started with Vue contents/framework/vue/quick-start.md
Core concepts (queries) contents/framework/react/guides/queries.md
Mutations contents/framework/react/guides/mutations.md
Caching strategies contents/framework/react/guides/caching.md
TypeScript usage contents/framework/react/typescript.md
API reference (React) contents/framework/react/reference/
Core classes contents/reference/QueryClient.md
Migration to v4 contents/framework/react/guides/migrating-to-react-query-4.md

When to use

Use this skill when the user asks about:

  • TanStack Query v4, React Query v4, Vue Query v4
  • Server state management and data fetching
  • Queries, mutations, and query invalidation
  • Caching, background refetching, and cache updates
  • Infinite scroll and paginated queries
  • Optimistic updates and error handling
  • SSR (Server-Side Rendering) with queries
  • TypeScript types for queries and mutations
  • Framework integration (React, Vue, Svelte, Solid)
  • Query devtools and debugging
  • Persistence plugins and cache persistence
  • ESLint rules for TanStack Query

How to find information

  1. First, read TOC.md for complete file listing organized by directory
  2. Identify the framework (React, Vue, Svelte, Solid) or core concept
  3. Navigate to the appropriate section:
    • framework/{framework}/guides/ - Core concepts and patterns
    • framework/{framework}/reference/ - API reference
    • reference/ - Core framework-agnostic classes
    • eslint/ - ESLint plugin rules
  4. Read specific files for details

TOC.md contains all files organized by directory - always check it first.