What problem does it solve?
This Skill reduces slow page loads and inefficient React/Next.js code by providing Vercel-approved, automation-friendly rules that eliminate common performance bottlenecks like waterfalls, large bundles, and excessive re-renders.
Core Features & Use Cases
- Cut waterfalls and unblock rendering using streaming-friendly Suspense boundaries and parallel data fetching patterns for RSCs, API routes, and Server Actions.
- Shrink bundles and improve cold start/TTI by applying import discipline (avoid barrel imports), dynamic imports for heavy UI, and conditional/deferred loading of non-critical dependencies.
- Optimize server/client boundaries with targeted serialization minimization, per-request deduplication patterns (React.cache), cross-request caching (LRU), and safer client data handling to prevent hydration flicker.
- Use cases: code review and automated refactoring of React/Next.js apps, performance-focused PR triage, and generating code that follows best practices for throughput, latency, and render efficiency.
Quick Start
Apply the vercel-react-best-practices Skill to your Next.js or React codebase to systematically rewrite the slowest paths for faster rendering, smaller bundles, and fewer re-renders.