vercel-react-best-practices

Apply React and Next.js performance patterns to components, pages, and data fetching.

1|1|Updated Apr 21, 2026
One-click install
npx skills add https://github.com/luizvergennes/template --skill vercel-react-best-practices-luizvergennes
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/luizvergennes/template/tree/main/.claude/skills/vercel-react-best-practices
Command: npx skills add https://github.com/luizvergennes/template --skill vercel-react-best-practices-luizvergennes

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides comprehensive, battle-tested performance guidelines for React and Next.js developed by Vercel Engineering. It targets the common frictions that degrade user experience, such as waterfalls in data fetching, large bundle sizes, server-side bottlenecks, and inefficient rendering patterns.

Core Features & Use Cases

  • Eliminates waterfalls and reduces bundle sizes through proven patterns for server actions, Suspense, caching, and parallel data fetching.
  • Guides on SSR/CSR optimization, React Server Components, hydration reliability, and client-side data fetching with deduplication.
  • Applies to tasks involving writing, reviewing, or refactoring React components, Next.js pages, data fetching, and performance improvements with guardrails for safety.

Quick Start

Review your codebase to identify top bottlenecks and start applying the recommended performance patterns immediately.

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 when refactoring components?

Optimize React and Next.js rendering performance by applying patterns for React Server Components, SSR/CSR optimization, and Suspense boundaries to reduce waterfalls and improve hydration reliability.

What is the best way to eliminate data fetching waterfalls in Next.js applications?

The best way to eliminate data fetching waterfalls in Next.js is by implementing parallel data fetching, deduplication, and proper caching strategies to prevent sequential loads and server-side bottlenecks.

How do server actions and Suspense boundaries improve Next.js bundle optimization?

Server actions and Suspense boundaries improve Next.js bundle optimization by moving logic server-side and streaming UI components, which directly reduces client bundle sizes and minimizes blocking renders.

Can I use these React performance patterns to prevent cross-request caching leakage?

Yes, you can apply these React performance patterns to prevent cross-request leakage because the guidelines enforce safe usage and validation specifically designed to isolate caching and server action contexts.

When should I not use React Server Components for client-side data fetching?

You should avoid using React Server Components when you require immediate client-side interactivity, opting instead for CSR patterns with data deduplication to maintain hydration reliability and avoid server bottlenecks.

Does next.js bundle optimization require specific patterns for parallel data fetching?

Next.js bundle optimization benefits heavily from parallel data fetching patterns, as resolving requests concurrently minimizes waterfalls, reduces server-side bottlenecks, and streamlines the overall loading experience.