vercel-react-best-practices

Apply React/Next.js performance best practices to optimize rendering and data fetching.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React and Next.js projects frequently face performance regressions due to inefficient data fetching, bloated bundles, and suboptimal rendering patterns. This skill consolidates Vercel's performance guidelines into a single, reusable playbook that teams can apply during development, reviews, and refactoring.

Core Features & Use Cases

  • Comprehensive rule set spanning eight priority categories (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, Advanced Patterns).
  • Guided examples and patterns to drive automated refactoring, code generation, and performance-conscious decisions.
  • Use Case: When optimizing a React/Next.js app with slow data loading or large dependencies, apply these rules to reduce waterfalls, trim bundles, and improve first paint metrics.

Quick Start

Inspect components and pages for waterfalls and unnecessary data fetches. Apply conditional/delayed loading, Suspense, and per-request caching as appropriate. Generate targeted changes following the eight category priorities to improve TTI and LCP.

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 rendering performance?

To optimize React rendering performance, apply proven rules targeting re-render optimization and rendering efficiency. Use these patterns to guide refactoring efforts, reduce unnecessary component updates, and improve first paint metrics.

What is the best way to reduce bundle size in a Next.js application?

The best way to reduce bundle size involves applying bundle optimization patterns like conditional and delayed loading. Trimming large dependencies improves load metrics and directly targets JavaScript performance regressions.

How do I eliminate data fetching waterfalls in Next.js pages?

To eliminate data fetching waterfalls, inspect pages for sequential fetches and apply per-request caching alongside Suspense. Restructuring these calls targets server-side performance and accelerates data loading.

Can I use these Vercel best practices to guide automated code generation?

Yes, you can use these Vercel best practices to guide automated code generation. The playbook provides guided examples and patterns across eight priority categories to drive performance-conscious refactoring decisions.

Why does my React app have slow data loading and poor Time to Interactive?

Slow data loading and poor Time to Interactive often stem from inefficient data fetching and suboptimal rendering patterns. Applying targeted rules to reduce waterfalls and trim bundles directly addresses these performance regressions.

What are the limitations of using general React performance patterns for refactoring?

General React performance patterns may lack specific Vercel engineering guidelines for Next.js. Without a centralized playbook spanning eight priority categories, automated refactoring might miss advanced patterns needed to improve LCP and TTI.