What problem does it solve? Setting up TanStack Query v5 correctly is error-prone due to breaking changes from v4, including removed query callbacks, renamed options like gcTime, and required object syntax, leading to migration errors and misconfigured caching. ## Core Features & Use Cases - QueryClient Setup and Configuration: Configure staleTime, gcTime, retry logic, and provider wrapping with DevTools integration. - Queries and Mutations: Implement useQuery, useMutation, useInfiniteQuery with optimistic updates, cache invalidation, and error boundaries. - v4 to v5 Migration: Prevent all 8 documented breaking-change errors such as removed onSuccess callbacks, isPending vs isLoading, and placeholderData replacing keepPreviousData. - Use Case: When migrating a React app from React Query v4 to v5, apply the provided templates and migration references to fix object syntax, status flags, and infinite query parameters without hitting type errors. ## Quick Start Ask the AI to set up TanStack Query v5 in your React project with a configured QueryClient, provider, and a first useQuery hook.