Use this skill whenever writing, reviewing, or refactoring code that uses TanStack Query / React Query (any of @tanstack/react-query, react-query, useQuery, useMutation, useInfiniteQuery, useSuspenseQuery, QueryClient, queryOptions). Triggers include: building data-fetching hooks, structuring query
Use this skill whenever writing, reviewing, or refactoring code that uses TanStack Query / React Query (any of @tanstack/react-query, react-query, useQuery, useMutation, useInfiniteQuery, useSuspenseQuery, QueryClient, queryOptions). Triggers include: building data-fetching hooks, structuring query keys, configuring staleTime/gcTime, handling loading/error states, writing mutations with cache inva