Skip to content
CAI
Produce a survey ↗Verify a survey

TanStack/query

This system is a comprehensive data-fetching and caching library (TanStack Query) that provides framework-specific adapters for React, Vue, Svelte, Solid, Preact, and Lit. It enables developers to manage server state, handle caching, and perform optimistic updates across various frontend environments. The repository also includes tooling for linting, testing, and building these integrations, alongside a dedicated DevTools package for debugging query states.

60.9

Adequate · 3 August 2026

100k

lines of production code

TypeScript

with JavaScript

5

bus factor · 1,119 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2019–2022 · Modernization and framework expansion

This period focused on modernizing the repository's build tooling, migrating examples to Vite, and expanding the library's support for Solid.js, Vue, and Angular. It also introduced new persistence and devtools features while standardizing configuration across all packages.

57 changes

2023 · Svelte 5 and Angular adapter launches

This period focused on modernizing the Svelte integration to support Svelte 5 runes and introducing new adapters for Angular and Solid.js. The work included rewriting the core Svelte Query library, updating all Svelte examples to use the new reactive primitives, and adding initial experimental packages for Angular and Solid.js persistence and devtools.

57 changes

2024–2025 · Framework integrations and testing expansion

This period focused on expanding the library's ecosystem by adding integration templates and examples for a wide range of frameworks, including Angular, Solid.js, Svelte, and Next.js. Concurrently, significant effort was directed toward improving code quality and reliability through comprehensive test coverage for core packages and the introduction of new ESLint rules to enforce best practices.

44 changes

2026 · Lit and Preact adapter expansion

This period focused on expanding framework support by introducing official adapters for Preact and Lit, alongside new example projects for both. The work included implementing core query and mutation controllers, devtools, and persistence providers for these frameworks, while also adding comprehensive test coverage for the new and existing devtools components.

18 changes

CAI lens gauges

Survey your own repository

TanStack/query was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 31c7f374e2 — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards