vercel-react-best-practices

Apply React and Next.js performance best practices to optimize UI and developer efficiency.

Updated Dec 26, 2025
One-click install
npx skills add https://github.com/Yoriichi-Dang/dashboard_web_template --skill vercel-react-best-practices-yoriichi-dang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/Yoriichi-Dang/dashboard_web_template/tree/main/.agents/skills/vercel-react-best-practices
Command: npx skills add https://github.com/Yoriichi-Dang/dashboard_web_template --skill vercel-react-best-practices-yoriichi-dang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured set of React and Next.js performance guidelines, curated by Vercel, to help engineers write faster, more efficient UI and optimize build times.

Core Features & Use Cases

  • Comprehensive rule set across eight categories (Eliminating Waterfalls, Bundle Size Optimization, Server-Side Performance, Client-Side Data Fetching, Re-render Optimization, Rendering Performance, JavaScript Performance, and Advanced Patterns) to guide automated refactoring and code generation.
  • Use-case driven guidance for writing components, building pages, auditing performance, and reviewing code during refactors.
  • Real-world scenarios: streamline data fetching to avoid waterfalls, lazy-load heavy components, minimize server-client serialization, and improve rendering efficiency in Next.js apps.

Quick Start

Review the guide to understand the scope, then perform a targeted audit of a Next.js project against the eight categories. Implement initial improvements such as eliminating blocking data fetches, enabling parallel fetches, deferring non-critical libraries, and adopting memoization and suspense where appropriate.

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 performance for large web applications?

To optimize React and Next.js performance, apply structured guidelines across component development, data fetching, and routing to eliminate waterfalls, minimize bundle size, and enforce server/client boundaries.

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

The best way to prevent data fetching waterfalls in Next.js is to implement parallel data fetching and properly manage server/client boundaries to minimize blocking requests and serialization.

How do I reduce bundle size when refactoring React components?

Reduce React bundle size during refactoring by lazy-loading heavy components, deferring non-critical libraries, and applying advanced patterns to streamline server-side rendering and client-side data fetching.

When should I use memoization and suspense for UI rendering optimization?

Use memoization and suspense for UI rendering optimization when you need to improve client-side re-render efficiency and defer loading non-critical UI components during page routing and component development.

Can I use these Vercel React guidelines to audit an existing Next.js project?

Yes, you can audit an existing Next.js project against eight performance categories including bundle size optimization, server-side performance, and JavaScript performance to identify and apply targeted refactoring improvements.

Does server action security matter for client-side data fetching in Next.js?

Server action security is essential even with client-side data fetching, as enforcing proper server/client boundaries and minimizing serialization ensures secure and efficient data flow across your React application.