What problem does it solve?
This guide reduces performance regressions and runtime inefficiencies in React and Next.js projects by providing prescriptive, prioritized rules that engineers and agents can apply to writing, reviewing, and refactoring code to improve load times, time-to-interactive, and server responsiveness.
Core Features & Use Cases
- Eliminating Waterfalls: patterns to defer awaits, parallelize dependent tasks, and structure components to avoid sequential server-side fetches.
- Bundle Size & Loading: guidance on avoiding barrel imports, using dynamic imports and preloading, and deferring non-critical third-party libraries.
- Server & Client Data Patterns: recommendations for per-request deduplication, cross-request LRU caching, minimizing RSC serialization, authenticating server actions, and scheduling non-blocking work.
- Use Case: Audit a Next.js application to produce targeted refactors such as splitting heavy components, hoisting static JSX, consolidating fetches, and reducing serialized props for faster pages.
Quick Start
Audit my Next.js page and return prioritized, actionable performance fixes with code examples.