What problem does it solve?
These guidelines eliminate common performance pitfalls in React and Next.js codebases so applications load faster, render sooner, and use fewer resources. The document targets waterfalls, oversized bundles, inefficient server/client boundaries, and suboptimal rendering patterns that degrade user experience and increase costs.
Core Features & Use Cases
- Pattern-driven optimizations: Clear rules for eliminating async waterfalls, maximizing parallel fetches, and using Suspense boundaries to improve initial paint.
- Bundle and runtime guidance: Recommendations for avoiding barrel imports, deferring third-party libraries, dynamic imports, and preloading strategies to reduce bundle size and cold-start costs.
- Server & RSC best practices: Advice on per-request deduplication, cross-request LRU caching, minimizing RSC serialization, and authenticating server actions to improve latency and security.
- Developer workflows: Use when writing, reviewing, or refactoring React/Next.js code to produce prioritized, actionable refactors and code examples that agents or engineers can apply.
Quick Start
Audit a Next.js page and return a prioritized list of concrete code changes to eliminate waterfalls, reduce bundle size, and minimize RSC serialization.