tanstack-query-best-practices
Installation
SKILL.md
TanStack Query Best Practices
Selected guidelines for implementing TanStack Query (React Query) patterns in React applications. These rules optimize data fetching, caching, mutations, and server state synchronization.
When to Apply
- Creating new data fetching logic
- Setting up query configurations
- Implementing mutations and optimistic updates
- Configuring caching strategies
- Integrating with SSR/SSG
- Refactoring existing data fetching code
Available local rules
This package contains 21 rule files. Consult the official documentation for topics not covered here, matching the installed package version.