概要
This skill provides specialized guidance for implementing TanStack Query v5 in React projects, ensuring developers adhere to the latest API changes and patterns. It simplifies the transition from v4 to v5 by enforcing mandatory object syntax, correcting renamed properties like gcTime, and managing complex states such as infinite scrolling and mutations. By integrating this skill, Claude can help prevent common pitfalls related to query callbacks, stale time configurations, and TypeScript type defaults, resulting in more robust and performant data fetching logic within modern React 18+ environments.