vercel-react-best-practices

Optimize React and Next.js performance using Vercel engineering best practices.

1|Updated Aug 2, 2025
One-click install
npx skills add https://github.com/YanBerdin/rougecardinalcompany --skill vercel-react-best-practices-yanberdin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/YanBerdin/rougecardinalcompany/tree/main/.github/skills/react-best-practices
Command: npx skills add https://github.com/YanBerdin/rougecardinalcompany --skill vercel-react-best-practices-yanberdin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Optimize React and Next.js performance by aligning development with Vercel's engineering best practices to prevent regressions and deliver faster, more reliable experiences.

Core Features & Use Cases

  • Comprehensive guidelines for React components, Next.js pages, data-fetching strategies, and bundle optimization.
  • Practical use cases include reducing render waterfalls, improving TTI/LCP, and accelerating code reviews with reproducible patterns.
  • Real-world scenario: refactor a page to split data fetching across components to enable parallel loading and faster first paint.

Quick Start

Audit your codebase and apply the recommended performance patterns.

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 render waterfalls in Next.js pages?

To reduce render waterfalls in Next.js, split data fetching across components to enable parallel loading rather than sequential requests. This Vercel best practice improves first paint and avoids blocking the UI while waiting for nested asynchronous data dependencies to resolve.

What are Vercel best practices for React bundle optimization?

Vercel best practices for React bundle optimization focus on minimizing bundle sizes by enforcing concrete criteria during code reviews. This involves guiding automated refactoring to split code, leverage server and client performance patterns, and prevent heavy dependencies from degrading load metrics.

How does applying performance patterns improve Next.js TTI and LCP?

Applying performance patterns improves Next.js Time to Interactive and Largest Contentful Paint by aligning development with Vercel engineering standards. Refactoring data fetching and optimizing bundles prevents regressions, delivering faster first paint and more reliable user experiences.

Can I use these React performance patterns for automated code reviews?

Yes, you can use these React performance patterns for automated code reviews. The guidelines establish reproducible criteria for reducing waterfalls and bundle sizes, allowing you to audit your codebase and catch performance regressions before deployment.

When should I refactor data fetching to split components in React?

You should refactor data fetching to split components when a page suffers from render waterfalls and slow first paint. Moving from sequential to parallel loading aligns with Vercel best practices and accelerates initial page rendering.