React Best Practices

•
239
•

Optimizes React and Next.js applications using 57 battle-tested performance rules and patterns from Vercel Engineering.

React Best Practices equips Claude Code with comprehensive performance guidelines curated by Vercel Engineering to inspect, write, and refactor React and Next.js applications. Structured across eight prioritized categories—from eliminating critical async waterfalls and shrinking bundle sizes to fine-tuning server-side rendering and component re-renders—this skill ensures that your frontend code runs with optimal efficiency, clean data fetching pipelines, and minimal client-side overhead.

Key Features

01Applies 57 prioritized performance rules across 8 architectural categories
02Mitigates unnecessary re-renders through state derivation and memoization guidelines
03Eliminates network and async waterfalls in API routes and React Server Components
04239 GitHub stars
05Optimizes client and server-side data fetching and request deduplication patterns
06Minimizes bundle sizes via direct imports, dynamic loading, and deferred assets

Use Cases

01Scaffolding production-ready Next.js App Router pages and React Server Components
02Refactoring slow React and Next.js components to boost Core Web Vitals and load times
03Reviewing pull requests to catch waterfall requests, bloated bundles, and render anti-patterns