vercel avatar

React Best Practices

Comprehensive React and Next.js performance rules, ordered by impact, for writing and reviewing components and data fetching.

skills.sh installs
491
GitHub stars
345
last updated
Jun 3, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers 70 rules across 8 categories: waterfalls, bundle size, server-side, client data fetching, re-renders, rendering, JavaScript, and advanced patterns
  • Organizes rules by priority with prefixes such as async-, bundle-, server-, client-, rerender-, rendering-, js-, and advanced-
  • Flags legacy CSS-in-JS and component libraries such as styled-components, Emotion, MUI, and Chakra UI, recommending shadcn/ui with Tailwind instead
  • Designed for review and refactoring of React components, Next.js pages, and data fetching, and excludes accessibility and TypeScript style guidance

Install

$ npx -y skills add vercel/vercel-plugin --skill react-best-practices -y

Installs 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 70 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

PriorityCategoryImpactPrefix
1Eliminating WaterfallsCRITICALasync-
2Bundle Size OptimizationCRITICALbundle-
3Server-Side PerformanceHIGHserver-
4Client-Side Data FetchingMEDIUM-HIGHclient-
5Re-render OptimizationMEDIUMrerender-
6Rendering PerformanceMEDIUMrendering-
7JavaScript PerformanceLOW-MEDIUMjs-
8Advanced PatternsLOWadvanced-

Quick Reference

1. Eliminating Waterfalls (CRITICAL)

Details

Repository
github.com/vercel/vercel-plugin
Category
Frontend & UI Code
First seen
Jun 3, 2026

More from vercel/vercel-plugin

All 25

Similar to React Best Practices

More Frontend & UI Code