What problem does it solve?
This skill helps you prevent slow React and Next.js apps caused by common performance anti-patterns, including server/client waterfalls, oversized bundles, unnecessary re-renders, and inefficient rendering patterns.
Core Features & Use Cases
- Eliminates async waterfalls by restructuring code for parallelization and streaming with Suspense where appropriate.
- Reduces bundle size and load time using safer import strategies, dynamic/conditional loading, and after-hydration loading for non-critical third-party code.
- Improves rendering and runtime efficiency by optimizing RSC prop serialization, avoiding shared module state hazards, and applying targeted re-render and rendering-performance rules.
Use it when you are reviewing or refactoring React/Next.js components, Route Handlers, Server Actions, or when diagnosing performance regressions like slow TTI/LCP, excessive network round-trips, or frequent UI stalls.
Quick Start
Ask an AI agent to review your React/Next.js change set and refactor it to remove waterfalls, reduce client/server payload size, and apply the most impactful performance rules from the Vercel React Best Practices guide.