What problem does it solve?
This Skill codifies Vercel's React and Next.js performance rules to identify and fix common bottlenecks such as server/client waterfalls, oversized bundles, unnecessary serialization, and inefficient rendering patterns. It helps developers and automated agents find high-impact changes that improve time-to-interactive, reduce payloads, and stabilize hydration behavior.
Core Features & Use Cases
- Waterfall elimination: Patterns and examples to defer awaits, parallelize dependent tasks, and use suspense boundaries for faster initial paint.
- Bundle and runtime optimization: Guidance on avoiding barrel imports, deferring third-party libraries, dynamic imports, and intent-based preloading.
- Server-side and RSC guidance: Rules for per-request deduplication, cross-request LRU caching, minimizing serialization at server/client boundaries, and authenticating Server Actions.
- Developer workflows: Use during code reviews, automated refactoring, new component development, and performance audits to produce prioritized, actionable fixes.
Quick Start
Apply vercel-react-best-practices to a Next.js page or component and produce a prioritized list of specific performance fixes with short code examples.