React Best Practices
Comprehensive React and Next.js performance guide, ordering 45 rules by impact for review and refactoring.
- CCM score
- 68 of 100
- skills.sh installs
- 553
- GitHub stars
- 34.3K
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers 8 categories: waterfalls, bundle size, server performance, client fetching, re-renders, rendering, JavaScript, and advanced patterns
- Ranks each category by priority, with waterfall elimination and bundle size rated critical
- Lists rule IDs by prefix (
async-,bundle-,server-,rerender-) with a one-line fix for each - Designed for writing, reviewing, or refactoring React and Next.js components, pages, and data fetching
Install
$ npx -y skills add davila7/claude-code-templates --skill react-best-practices -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Vercel React Best Practices
Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Contains 45 rules across 8 categories, prioritized by impact to guide automated refactoring and code generation.
When to Apply
Reference these guidelines when:
- Writing new React components or Next.js pages
- Implementing data fetching (client or server-side)
- Reviewing code for performance issues
- Refactoring existing React/Next.js code
- Optimizing bundle size or load times
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Eliminating Waterfalls | CRITICAL | async- |
| 2 | Bundle Size Optimization | CRITICAL | bundle- |
| 3 | Server-Side Performance | HIGH | server- |
| 4 | Client-Side Data Fetching | MEDIUM-HIGH | client- |
| 5 | Re-render Optimization | MEDIUM | rerender- |
| 6 | Rendering Performance | MEDIUM | rendering- |
| 7 | JavaScript Performance | LOW-MEDIUM | js- |
| 8 | Advanced Patterns | LOW | advanced- |
Quick Reference
1. Eliminating Waterfalls (CRITICAL)
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Frontend & UI Code, Code Review & Quality
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 398- Create Plan543
- Polars539
- Agent Tool Builder537
- Database Design537
- Software Architecture535
- React Ui Patterns529
- Docx526
- Marketing Demand Acquisition525
- Research Grants523
- Web Performance Optimization521
- Screenshot Feature Extractor516
- React Patterns503
- Rag Implementation500
- Executing Marketing Campaigns499
- Api Documentation Generator494
- Coding Standards494
- Autonomous Agents492
- Backend Dev Guidelines492
- Typescript Expert491
- Api Patterns486
- Supabase Postgres Best Practices482
- File Organizer481
- Research Engineer478
- Data Privacy Compliance477
Similar to React Best Practices
More Frontend & UI Codefrontend-react-best-practicessergiodxa/agent-skills1.2K installsReact performance rules and composition patterns covering re-renders, bundle size, and hydration pitfalls.
react-patternsjezweb/claude-skills1.3K installsReact 19 performance patterns and composition rules that prioritise waterfalls, bundle size, and re-render prevention.
react-optimisepproenca/dot-skills414 installsApplication-level React performance guide covering compiler adoption, bundle splitting, rendering, and Core Web Vitals.
nextjs-performancegiuseppe-trisciuoglio/developer-kit5.2K installsComprehensive Next.js performance guidance covering Core Web Vitals, caching, streaming, and Server Components for Next.js 16 and React 19.