What problem does it solve? React applications often suffer from request waterfalls, redundant fetches, and uncached useEffect-based data loading that degrade performance and complicate state management. ## Core Features & Use Cases - Waterfall Elimination: Parallelize independent fetches with Promise.all and restructure parent-child fetching so components load data concurrently. - Caching and Deduplication: Replace raw fetch-in-effect with TanStack Query or SWR for automatic caching, deduplication, retries, and background revalidation. - Optimistic Updates and Prefetching: Implement instant UI feedback with optimistic mutations and prefetch data on hover or via route loaders before navigation. - Use Case: When reviewing a React component that fetches user data in useEffect and then passes it to a child that fetches again, apply these patterns to hoist both queries to the same level and cut load time in half. ## Quick Start Refactor this React component to use TanStack Query with parallel fetching and a Suspense boundary instead of useEffect-based loading.