What problem does it solve?
Vercel React Best Practices eliminates common performance regressions and architectural anti-patterns in React and Next.js codebases by providing concrete, prioritized rules to reduce waterfalls, shrink bundles, and improve server- and client-side data fetching and rendering. It targets hard-to-detect inefficiencies (sequential awaits, oversized imports, improper SSR patterns, and excessive serialization) that degrade Time to Interactive, Largest Contentful Paint, and developer productivity.
Core Features & Use Cases
- Rule-driven guidance: 70+ actionable rules across eliminating waterfalls, bundle-size optimization, server performance, client fetching, re-render reduction, rendering performance, JS micro-optimizations, and advanced patterns.
- Automated refactoring & reviews: Use for code review, automated lint/fix suggestions, PR feedback, and agent-driven refactors to apply Promise.all, better-all patterns, dynamic imports, Suspense boundaries, React.cache, LRU caching, and hoisting static I/O.
- Real-world scenarios: Improve dashboard cold starts, reduce Next.js bundle weight, prevent RSC serialization bloat, secure Server Actions, and parallelize nested fetches to cut latency across production apps.
Quick Start
Ask the agent to analyze my React/Next.js repository and produce prioritized performance fixes for waterfalls, bundle size, server-side bottlenecks, and RSC serialization.