What problem does it solve? Integrating TanStack Query with TanStack Router and TanStack Start introduces tricky coordination problems: duplicate caches, SSR dehydration mismatches, loading waterfalls, and unclear data flow ownership. This Skill provides prioritized, rule-based guidance so your full-stack React app has a single source of truth for caching and correct SSR hydration. ## Core Features & Use Cases - Setup Rules: Pass QueryClient through router context, wrap providers correctly, and coordinate staleTime between router and query. - Data Flow Patterns: Combine route loaders with ensureQueryData and useSuspenseQuery to eliminate loading waterfalls and enable hover preloading. - SSR Integration: Use setupRouterSsrQueryIntegration from @tanstack/react-router-ssr-query for automatic dehydration/hydration, streaming, and redirect handling. - Use Case: When building a TanStack Start application, apply these rules to create a per-request QueryClient, prefetch data in loaders, and let Query manage all caching while the router handles navigation. ## Quick Start Ask the AI to review your TanStack Start router setup and apply the integration rules for QueryClient context, loader-based prefetching, and SSR hydration.