
Description
TanStack Query is an agent skill for managing server state in React with TanStack Query v5. It covers the v5 features that change how an app handles data: useMutationState for reading mutation state from any component without prop drilling, simplified optimistic updates, throwOnError for error handling, and network mode for offline and PWA behavior. The skill targets @tanstack/react-query 5.90.19 and the devtools package 5.91.2, and lists its requirements as React 18.0 or later, since it relies on useSyncExternalStore, and TypeScript 4.7 or later, which is recommended. It was last updated on 2026-01-20. It is written for developers who already use React and want an agent to write queries and mutations that match the current API rather than older v4 patterns.…
Highlights
- useMutationState for cross-component mutation tracking
- Simplified optimistic updates in v5
- throwOnError and network mode for offline apps
- Targets @tanstack/react-query 5.90.19
Ratings & Reviews
No ratings yet
Be the first to rate tanstack-query.
People also visit
tanstack-query FAQ
Which version does it cover?
TanStack Query v5, with @tanstack/react-query 5.90.19 and the devtools package 5.91.2 as the listed versions.
What does it require?
React 18.0 or later, since it uses useSyncExternalStore, and TypeScript 4.7 or later, which is recommended.
Which new v5 features does it cover?
useMutationState for cross-component mutation tracking, simplified optimistic updates, throwOnError, and network mode for offline and PWA apps.
What do the security audits show?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
How do I install it?
Run npx skills add https://github.com/jezweb/claude-skills --skill tanstack-query.
What are the best tanstack-query alternatives?
Popular alternatives to tanstack-query include react-query, tanstack-query and tanstack-start-best-practices. See all tanstack-query alternatives













