vercel-react-best-practices

Apply React and Next.js performance best practices to modern apps.

3|Updated Feb 28, 2026
One-click install
npx skills add https://github.com/techwithanirudh/ev3-ai --skill vercel-react-best-practices-techwithanirudh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/techwithanirudh/ev3-ai/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/techwithanirudh/ev3-ai --skill vercel-react-best-practices-techwithanirudh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This guide consolidates proven React and Next.js performance patterns from Vercel Engineering to help teams optimize load times, reduce waterfalls, and improve user experience across modern web apps.

Core Features & Use Cases

  • It catalogs 57 rules across 8 categories, covering best practices for code-splitting, Suspense, server actions, API routes, and bundle optimization, to guide automated refactoring and code generation.
  • It provides concrete scenarios for optimizing components, data fetching, bundle sizes, and SSR/CSR performance in real-world Next.js projects.

Quick Start

Review the Vercel React Best Practices and apply the recommended patterns to your Next.js project.

Frequently Asked Questions about vercel-react-best-practices

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

FAQPage Schema
What are the best practices for optimizing React and Next.js app performance?

Optimizing React and Next.js app performance involves eliminating data fetching waterfalls, using Suspense for SSR/CSR patterns, avoiding barrel imports, and employing dynamic imports for heavy components to improve load times.

How do I stop data fetching waterfalls in Next.js?

To stop data fetching waterfalls in Next.js, apply consolidated best practices that enforce parallel data retrieval strategies and optimize server actions, reducing sequential fetches and improving overall load times.

When should I use dynamic imports for heavy React components?

Use dynamic imports for heavy React components to reduce initial bundle sizes and improve web performance, enforcing code-splitting patterns that delay loading non-critical UI elements until they are needed.

Why should I avoid barrel imports in my Next.js project?

Avoid barrel imports in your Next.js project to prevent unnecessary module loading and bundle bloat, which degrades web performance by increasing the amount of JavaScript shipped to the client.

How do I use Suspense to improve SSR and CSR performance in Next.js?

Use Suspense to improve SSR and CSR performance in Next.js by wrapping components that rely on asynchronous data, allowing the UI to render progressively and improving user experience during load times.

Does this React performance guide cover server actions and API routes?

Yes, this React performance guide covers server actions and API routes, cataloging 57 rules across 8 categories that provide concrete scenarios for optimizing data fetching and component performance within modern Next.js apps.