{
  "slug": "tanstack-query",
  "name": "TanStack Query",
  "url": "https://tanstack.com/query",
  "cat": "dx",
  "group": "build",
  "tagline": "Server-state cache",
  "price": "Free · MIT",
  "tier": "free",
  "pick": false,
  "what": "A cache for data that lives on a server, currently v5. It handles fetching, caching, deduplication, background refetching, retries, pagination and optimistic updates behind a <code>useQuery</code> hook, and tracks loading and error states for you.",
  "why": "The single highest-leverage library in this list. Without it you rewrite the same <code>useEffect</code> plus loading plus error plus stale-data bug in every component, and AI-generated fetch code is exactly where those bugs hide.",
  "warn": "It is not a client-state store — do not put form input or UI toggles in it. v5 renamed several options from v4, so older tutorials misfire.",
  "install": "npm install @tanstack/react-query",
  "category": {
    "key": "dx",
    "name": "Libraries & build tooling",
    "desc": "The dependencies your AI will reach for whether or not you chose them. Know what they are.",
    "group": "build",
    "groupName": "Build it"
  },
  "freshness": null,
  "health": {
    "ok": true,
    "status_code": 200,
    "final_url": "https://tanstack.com/query/latest",
    "checked_at": "2026-08-18T21:22:12.874+00:00"
  },
  "corrected_at": null,
  "upstream_changed_at": null
}