vercel-react-best-practices

Optimize React and Next.js applications using Vercel Engineering performance rules.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js applications frequently encounter performance bottlenecks including waterfalls, oversized bundles, and excessive re-renders that degrade user experience and increase operational costs. This skill delivers Vercel Engineering's comprehensive optimization guidelines to systematically identify, prioritize, and resolve these issues.

Core Features & Use Cases

  • 70 Prioritized Performance Rules: Eight categories covering eliminating waterfalls, bundle size optimization, server-side performance, client-side data fetching, re-render optimization, rendering performance, JavaScript micro-optimizations, and advanced patterns.
  • Impact-Based Prioritization: Rules ranked from CRITICAL (2-10x improvements) to LOW, enabling developers to focus on high-value optimizations first.
  • Actionable Code Comparisons: Each rule includes incorrect vs. correct implementations with real-world impact metrics, facilitating immediate application during code generation, review, and refactoring.

Quick Start

Apply the waterfall elimination and bundle size optimization rules from this skill to your Next.js page components to achieve immediate performance gains.

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 reduce bundle size and eliminate waterfalls in Next.js applications?

To reduce Next.js bundle size and eliminate waterfalls, apply prioritized optimization rules to client components, server components, and API routes. This systematically resolves performance bottlenecks by minimizing JavaScript payloads and restructuring data fetching patterns.

What causes unnecessary re-renders in React and how do I optimize rendering performance?

Unnecessary React re-renders are caused by improper component structuring and state management. You can optimize rendering performance by applying impact-based rules that provide correct versus incorrect implementation patterns, preventing excessive renders and improving client-side execution.

Can I use Vercel performance guidelines to review and refactor existing React code?

Yes, you can use Vercel performance guidelines to review and refactor existing React code. The guidelines provide actionable code comparisons with real-world impact metrics, enabling developers to systematically identify and resolve bottlenecks during refactoring workflows.

What is the best way to optimize server-side rendering in Next.js?

The best way to optimize Next.js server-side rendering is applying ranked performance rules across eight categories, including server-side performance and advanced patterns. These rules prioritize optimizations from critical 2-10x improvements down to lower impact adjustments.

Does this approach work for both client-side data fetching and server components?

Yes, this approach works for both client-side data fetching and server components. The optimization guidelines cover specific categories for rendering performance, server-side execution, and client-side fetching to systematically resolve bottlenecks across your entire React architecture.