{"data":{"slug":"tanstack-query","name":"TanStack Query","tagline":"MIT server-state cache for async data (React Query lineage)","category":"libraries","categoryName":"Libraries","url":"https://tanstack.com/query","github":"https://github.com/TanStack/query","pricing":"open-source","hook":"TanStack Query is the server-state cache when fetching, caching, and invalidation should not live in your UI store.","whatsGood":"MIT. Declarative fetch/cache/invalidate for React, Vue, Solid, Svelte, Angular. Devtools, optimistic updates, infinite queries. De-facto async server-state default outside full RSC frameworks.","theCatch":"Server-state cache library; not SaaS. Not a global client store (that is Zustand/Redux). Not tRPC itself — pairs with it. You still own the API and auth.","verdict":"MIT server-state cache. Free library; not a BaaS.","addedAt":"2026-09-06","featured":false,"domain":"Libraries","subSpecialty":"Data Fetching","capabilities":["cache","async","typescript"],"surfaces":["Self-host"],"ecosystem":["Node.js","Browser"],"licenseModel":"OSS/MIT","githubStars":47000},"related":[{"slug":"hono","name":"Hono","tagline":"Tiny TypeScript web framework that runs on every runtime"},{"slug":"phaser","name":"Phaser","tagline":"MIT HTML5 2D game framework with scenes, physics, and tilemaps"},{"slug":"pixijs","name":"PixiJS","tagline":"MIT 2D WebGPU/WebGL renderer, not a game engine"},{"slug":"babylonjs","name":"Babylon.js","tagline":"Apache-2.0 3D engine for the web, now on v9"},{"slug":"playcanvas","name":"PlayCanvas","tagline":"MIT WebGL2/WebGPU engine plus an optional hosted Editor"}],"links":{"self":"/api/gems/tanstack-query","html":"/gems/tanstack-query","markdown":"/gems/tanstack-query.md","category":"/api/gems?category=libraries","categoryPage":"/stacks/libraries"}}