What problem does it solve?
Provides a comprehensive, prioritized set of actionable rules to identify and fix performance regressions in React and Next.js codebases, reducing load time, bundle size, and server-side latency.
Core Features & Use Cases
- Waterfall elimination: patterns and examples to parallelize data fetching and avoid sequential awaits in Server Components and API routes.
- Bundle size & loading strategies: guidance on avoiding barrel imports, dynamic imports, conditional loading, and deferring non-critical third-party libraries.
- Server-side best practices: recommendations for per-request deduplication, cross-request LRU caching, hoisting static I/O, minimizing RSC serialization, and safe Server Action authentication.
- Use Case: Run during code reviews or automated refactors to produce a prioritized checklist of fixes (e.g., convert sequential fetches to Promise.all, replace barrel imports, hoist font reads to module scope).
Quick Start
Analyze the repository and produce a prioritized list of concrete React/Next.js performance fixes focused on eliminating waterfalls, reducing bundle size, and improving server-side caching and I/O hoisting.