What problem does it solve?
This guide helps eliminate common React and Next.js performance regressions by providing concrete patterns to remove waterfalls, reduce bundle size, and optimize server and client data fetching so applications load and run faster.
Core Features & Use Cases
- Comprehensive rules: 40+ prioritized rules covering waterfalls, bundle optimization, server-side parallelism, client deduplication, rendering and JavaScript micro-optimizations.
- Practical examples: For each rule the repository provides wrong vs. correct code samples, impact descriptions, and references to real-world techniques (Promise.all, better-all, React.cache, dynamic imports, SWR).
- Agent-ready: Authored for automated agents and LLMs to apply when writing, reviewing, or refactoring React/Next.js code in both client and server contexts.
Quick Start
Audit the target React/Next.js page for waterfall fetches and bundle bloat, then output prioritized, code-level refactors to parallelize requests and reduce initial bundle size.