AI AGENT ADDONS

Tanstack Query

jezweb/claude-skills

TanStack Query (formerly React Query) helps your React app fetch and manage data from a server. It handles caching, background updates, and pagination automatically. Version 5 brings new features that make data fetching easier and more reliable.

This skill shows you how to use useMutationState to track mutations across components without extra wiring. You can add optimistic updates that show changes right away and fix themselves when the server responds. The throwOnError option lets you use error boundaries to catch and handle failures cleanly.

You will also learn about network mode for offline and PWA apps. It controls whether queries run when you are offline, use the cache first, or always try. This skill covers migration from version 4 to 5, including changes like gcTime and isPending, and helps with server-side rendering debug.

Add Tanstack Query skill to your workflow

Global

mkdir -p ~/.claude/skills/tanstack-query

Project

mkdir -p .claude/skills/tanstack-query

Source Repository

Stars
884
Forks
91
Watchers
884
License
MIT
Last Push
1 month ago
Created
9 months ago