react-best-practices

Installation
Summary

React and Next.js performance optimization guidelines across 45 rules in 8 priority categories.

  • Covers critical waterfalls elimination, bundle size optimization, and server-side performance with specific patterns like Promise.all, dynamic imports, and React.cache()
  • Includes medium-priority rules for re-render optimization, rendering performance, and JavaScript efficiency with concrete code examples
  • Organized by impact level with prefixed rule names (async-, bundle-, server-, client-, rerender-, rendering-, js-, advanced-) for easy reference during code review and refactoring
  • Prohibits sequential awaits, barrel file imports, and array mutations; requires RSC boundary discipline and minimal client serialization
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 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-
Related skills

More from supercent-io/skills-template

Installs
3.2K
GitHub Stars
88
First Seen
Mar 6, 2026