Fetch and cache server data in your React app.
Guides developers in implementing typed server-data fetching, caching, and updates in React applications with TanStack Query v5.
When to use it
Use when fetching or caching server data in React, writing query or mutation hooks, configuring a QueryClient, implementing optimistic updates, or migrating v4 patterns to v5.
It changes how the agent implements server-data fetching and state management in a React project.
What you provide
The guidance targets TanStack Query v5 APIs and patterns rather than v4.
No additional actions listed.