Directory
TanStack Query
Server-state cache
FreeLibraries & build toolingtanstack.com
What it is
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
useQuery hook, and tracks loading and error states for you.Why it earns a slot
The single highest-leverage library in this list. Without it you rewrite the same
useEffect plus loading plus error plus stale-data bug in every component, and AI-generated fetch code is exactly where those bugs hide.Know before you commit
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.
Getting started
npm install @tanstack/react-query
Also in Libraries & build tooling
Astro Starlight + Nextra
starlight.astro.build
Framework docs themes
FreeLibraries & build tooling
Free · MIT
Open dossier
Biome
biomejs.dev
Linter + formatter (Rust)
FreeLibraries & build tooling
Free · MIT/Apache-2.0
Open dossier
Chromatic
chromatic.com
Visual regression testing
Free tier + paidLibraries & build tooling
Free tier · Starter $179/mo
Open dossier