TanStack Query
MIT server-state cache for async data (React Query lineage)
Libraries / Data Fetching · OSS/MIT · 50.5k
Reviewed 2026-09-06 · last push 2026-10-21 · repo checked 2026-10-21
What's Good
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.
The Catch
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.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/tanstack-query)
HTML
<a href="https://stackgems.com/gems/tanstack-query"><img src="https://stackgems.com/badge/tanstack-query.svg" alt="TanStack Query reviewed on Stack Gems" height="20"></a>