vercel-react-best-practices

Optimize React and Next.js performance with prioritized rules and code examples.

Updated Apr 12, 2026
One-click install
npx skills add https://github.com/elcokiin/peluqueria --skill vercel-react-best-practices-elcokiin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/elcokiin/peluqueria/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/elcokiin/peluqueria --skill vercel-react-best-practices-elcokiin

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill addresses performance bottlenecks in React and Next.js applications by providing a comprehensive, prioritized set of rules to eliminate waterfalls, reduce bundle sizes, and optimize rendering.

Core Features & Use Cases

  • Performance Auditing: Provides 69 actionable rules across 8 categories, ranging from critical async optimizations to advanced JavaScript patterns.
  • Automated Refactoring Guidance: Offers clear "Incorrect" vs "Correct" code examples to guide AI agents and developers in refactoring codebases for better Time to Interactive and Largest Contentful Paint.
  • Use Case: Use this Skill when refactoring a slow Next.js page to identify and eliminate sequential data fetching waterfalls or to optimize heavy component imports using dynamic loading.

Quick Start

Apply the vercel-react-best-practices skill to review the current component implementation and suggest performance improvements based on the provided rules.

Frequently Asked Questions about vercel-react-best-practices

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize React and Next.js performance by eliminating data fetching waterfalls?

To optimize React rendering performance, apply structured rules targeting re-render optimization and bundle size reduction. Using comparative incorrect versus correct code examples guides refactoring heavy component imports through dynamic loading to improve runtime efficiency.

How do I reduce bundle size in Next.js applications using dynamic loading?

Reduce Next.js bundle size by applying dynamic loading rules for heavy component imports. Structured performance guidelines provide specific incorrect versus correct comparative examples to lower Largest Contentful Paint times and optimize overall bundle delivery.

What are the best practices for React server-side performance optimization?

React server-side performance optimization best practices include eliminating data fetching waterfalls and reducing bundle sizes. Applying 69 actionable rules across 8 categories ensures consistent code quality and improves server-side rendering efficiency for Next.js applications.

Does this Next.js performance optimization approach work for existing codebases?

Yes, this approach works for existing codebases by providing automated refactoring guidance through incorrect versus correct comparative code examples. It guides developers to refactor sequential data fetching and heavy component imports for better Time to Interactive and Largest Contentful Paint.

What are the limitations of using structured rules for React performance auditing?

The limitation of using structured rules for React performance auditing is that it focuses strictly on 69 predefined rules across 8 categories. It provides comparative code examples for waterfall elimination and bundle reduction but does not dynamically generate custom optimization logic outside these bounds.