vercel-react-best-practices

Codify React and Next.js performance best practices into structured rule categories.

1|Updated Feb 15, 2026
One-click install
npx skills add https://github.com/ojpbarbosa/treehacks-26 --skill vercel-react-best-practices-ojpbarbosa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: vercel-react-best-practices
Source: https://github.com/ojpbarbosa/treehacks-26/tree/main/worker/skills/vercel-react-best-practices
Command: npx skills add https://github.com/ojpbarbosa/treehacks-26 --skill vercel-react-best-practices-ojpbarbosa

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

React performance issues across large apps can hinder user experience; this guide provides a structured, exhaustive set of rules to systematically improve rendering, bundle size, and server/client interactions.

Core Features & Use Cases

  • 8 rule categories covering eliminating waterfalls, bundle optimization, server-side performance, client-side data fetching, re-rendering, rendering, JavaScript, and advanced patterns.
  • Concrete, battle-tested patterns with code examples that can drive automated tooling and reviewer checks.
  • Use cases include optimizing pages, components, and data fetching strategies in React/Next.js deployments on Vercel.

Quick Start

Start by auditing the 8 rule categories and applying the top-priority guidance to your React components, Next.js pages, and data-fetching flows.

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 applications?

Optimize React and Next.js performance by applying structured rules across eight categories, including bundle optimization, server-side performance, and eliminating data fetching waterfalls. This provides concrete, battle-tested patterns with code examples to systematically improve rendering and server/client interactions.

What are the best practices for bundle optimization in Next.js?

Bundle optimization best practices involve applying concrete rules that reduce JavaScript payload sizes and improve Web Vitals. This guide codifies specific patterns to systematically refactor components and pages, ensuring minimal bundle size for Vercel deployments.

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

Eliminate data fetching waterfalls by following structured best practices for server-side performance and server actions. This guide provides specific patterns to refactor data flows, ensuring parallel fetching and optimal server/client interactions in Next.js.

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

Yes, you can use these rules for automated code reviews. The structured guidance is designed to drive automated tooling and reviewer checks, providing safety checks and validation across multiple rule categories to guide both automated tooling and human review.

How do I reduce unnecessary re-rendering in React components?

Reduce unnecessary re-rendering by applying specific rules from the re-rendering and rendering categories. This guide codifies performance patterns with code examples to systematically improve component rendering efficiency and overall Web Vitals.