
React Best Practices
This is Vercel's performance optimization guide turned into a skill, with 45 rules across eight categories from critical waterfalls to advanced patterns. It's meant for writing, reviewing, or refactoring React and Next.js code. The rules are prioritized by impact, so you get the big wins first: eliminating request waterfalls, cutting bundle size with better imports, then working down through server optimizations and client re-render patterns. Each rule has a prefix like `async-` or `bundle-` and includes before/after examples. Honest take: the categorization and priority system make this more useful than a flat checklist, though you'll still need judgment about which rules matter for your specific bottleneck.
- skills.sh installs
- 550
- GitHub stars
- 33.2K
- last updated
- Aug 21, 2026
Install
$ npx -y skills add davila7/claude-code-templates --skill react-best-practices --agent claude-codeInstalls into .claude/skills of the current project.
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)
Sponsors
Details
- Repository
- github.com/davila7/claude-code-templates
- Categories
- Frontend Development, Documentation, Code Review & Quality, Debugging
- First seen
- Jun 3, 2026
More from davila7/claude-code-templates
All 618- Create Plan543
- Polars539
- Agent Tool Builder537
- Content Research Writer533
- Database Design531
- Pinecone531
- Software Architecture531
- React Ui Patterns529
- Marketing Demand Acquisition525
- Playwright Skill525
- Docx524
- Research Grants523
- Obsidian Markdown519
- Web Performance Optimization518
- Notion Knowledge Capture516
- Screenshot Feature Extractor514
- Skill Creation Guide514
- React Patterns503
- Executing Marketing Campaigns498
- React Dev498
- Knowledge Distillation497
- Rag Implementation497
- Coding Standards494
- Api Documentation Generator493