TanStack Query

Installation
SKILL.md

TanStack Query

When to Use

  • Fetching, caching, and synchronizing server state in React
  • Any data that lives on a server and can become stale
  • Scenarios needing background refetch, optimistic updates, or cache invalidation

When NOT to use:

  • Client-only state (UI toggles, form drafts, theme) — use React state or Zustand
  • One-shot fetches that never need caching (e.g., file download trigger)
  • Static data baked into the build — just import it

Our Conventions

Installs
GitHub Stars
1
First Seen
TanStack Query — artofrawr/claude-control