Agent skill · Data & Analytics

react-best-practices

Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Use when writing new React components or Next.js pages, implementing data fetching (client or server-side), or reviewing code for performance issues.

Nick44,086★ · +407/wk · 1 repos on radarProfile →
claude-codecodexcursorMIT
Install
npx skills add sickn33/agentic-awesome-skills --skill react-best-practices --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 51
SKILL.md size: 6 KB
Bundled scripts: none
Path: skills/react-best-practices/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 44,414 · +328 this week
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 Use 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) - `async-defer-await` - Move await into branches where actually used - `async-paral

What's inside
Steps it walks through
  1. When to Use
  2. Rule Categories by Priority
  3. Quick Reference
  4. 1. Eliminating Waterfalls (CRITICAL)
  5. 2. Bundle Size Optimization (CRITICAL)
  6. 3. Server-Side Performance (HIGH)
  7. 4. Client-Side Data Fetching (MEDIUM-HIGH)
  8. 5. Re-render Optimization (MEDIUM)
  9. 6. Rendering Performance (MEDIUM)
  10. 7. JavaScript Performance (LOW-MEDIUM)
  11. 8. Advanced Patterns (LOW)
  12. How to Use
  13. Full Compiled Document
  14. Limitations
Ships with 24 files
  • AGENTS.md
  • README.md
  • metadata.json
  • rules/_sections.md
  • rules/_template.md
  • rules/advanced-event-handler-refs.md
  • rules/advanced-use-latest.md
  • rules/async-api-routes.md
  • rules/async-defer-await.md
  • rules/async-dependencies.md
  • rules/async-parallel.md
  • rules/async-suspense-boundaries.md
  • rules/bundle-barrel-imports.md
  • rules/bundle-conditional.md
  • rules/bundle-defer-third-party.md
  • rules/bundle-dynamic-imports.md
  • rules/bundle-preload.md
  • rules/client-event-listeners.md
  • rules/client-swr-dedup.md
  • rules/js-batch-dom-css.md
  • rules/js-cache-function-results.md
  • rules/js-cache-property-access.md
  • rules/js-cache-storage.md
  • rules/js-combine-iterations.md
first 24 of 51
More from agentic-awesome-skills
All skills →
About this skill
What does the react-best-practices skill do?

Comprehensive performance optimization guide for React and Next.js applications, maintained by Vercel. Use when writing new React components or Next.js pages, implementing data fetching (client or server-side), or reviewing code for performance issues.

How do I install it?

Run `npx skills add sickn33/agentic-awesome-skills --skill react-best-practices --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going