
tanstack-query
Powerful asynchronous state management, server-state utilities
by tanstack-skillsFree
Description
tanstack-query is an agent skill from the tanstack-skills collection, listed on skills.sh. It guides a coding agent in using TanStack Query, the library formerly called React Query, to manage server state: data that lives on a server and must be fetched, cached, synchronized and updated. The skill covers automatic caching, background refetching, stale-while-revalidate, pagination, infinite scrolling and optimistic updates. It applies to TypeScript and JavaScript projects using React, Vue, Solid, Svelte and Angular. The installation steps cover the @tanstack/react-query package and an optional devtools package, and the current major version is v5. The skill includes setup guidance and is meant to be loaded when a task involves fetching or caching data in such an app. A skill is a SKILL.md file of instructions that an AI agent loads only when a task calls for it. It can be installed with npx skills add https://github.com/tanstack-skills/tanstack-skills --skill tanstack-query.…
Highlights
- Server state fetching and caching
- Background refetching and stale-while-revalidate
- Pagination, infinite scrolling and optimistic updates
- Covers React, Vue, Solid, Svelte and Angular
- Setup guidance for TanStack Query v5
Ratings & Reviews
No ratings yet
Be the first to rate tanstack-query.
People also visit
tanstack-query FAQ
What does the tanstack-query skill do?
It helps an agent fetch, cache and update server data in a TypeScript or JavaScript app with TanStack Query.
How do I install it?
Run npx skills add https://github.com/tanstack-skills/tanstack-skills --skill tanstack-query.
Which packages does it install?
The skill names @tanstack/react-query and an optional @tanstack/react-query-devtools.
Which frameworks does it cover?
React, Vue, Solid, Svelte and Angular, according to the skill's overview.
What do the security audits say?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
Is it free?
Yes. The skill is listed on skills.sh as free.
What are the best tanstack-query alternatives?
Popular alternatives to tanstack-query include react-query, tanstack-query-best-practices and tanstack-start-best-practices. See all tanstack-query alternatives






