react-best-practices

Identify and optimize performance bottlenecks in React/Next.js apps.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/thimmarques/gestao-inteligente --skill react-best-practices-thimmarques
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/thimmarques/gestao-inteligente/tree/main/.agent/skills/nextjs-react-expert
Command: npx skills add https://github.com/thimmarques/gestao-inteligente --skill react-best-practices-thimmarques

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Consolidates React and Next.js performance best practices from Vercel Engineering to help teams identify and fix bottlenecks. Emphasizes eliminating waterfalls, shrinking bundle sizes, improving server-side rendering, and streamlining client-side data fetching. Provides a structured framework across eight sections to guide fixes from high-impact optimizations to advanced patterns.

Core Features & Use Cases

  • Comprehensive rule set across waterfalls, bundling, server-side, client-side data fetching, re-render optimization, rendering performance, and advanced patterns.
  • Practical guidance for diagnosing bottlenecks in React/Next.js apps with concrete examples and structured recommendations.
  • Decision framework to prioritize fixes by impact, from eliminating waterfalls to reducing bundle size and micro-optimizations.

Quick Start

Analyze your React/Next.js project to identify waterfalls, bundle bloat, and server/client performance gaps, then apply the relevant optimization rules in priority order.

Frequently Asked Questions about react-best-practices

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

FAQPage Schema
How do I identify and fix React and Next.js performance bottlenecks?

To identify and fix React and Next.js performance bottlenecks, apply a structured rule hierarchy that prioritizes eliminating waterfalls, reducing bundle sizes, and improving server-side rendering. This framework guides fixes from high-impact optimizations down to micro-optimizations.

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

The best way to eliminate data fetching waterfalls in Next.js applications is to apply a section-based optimization framework that diagnoses bottleneck patterns and restructures server-side and client-side data fetching for parallel execution.

How do I reduce bundle size bloat in a React application?

To reduce bundle size bloat in a React application, utilize consolidated performance best practices that diagnose bundling issues and provide structured recommendations prioritizing bundle-size reduction alongside waterfall elimination.

Does this optimization framework work for both server components and client components?

Yes, this optimization framework works for both server components and client components. It applies across performance reviews, code reviews, and build pipelines to streamline server-side rendering and client-side data fetching.

When should I prioritize React memoization over bundle reduction?

You should prioritize React memoization over bundle reduction only after addressing higher-impact optimizations. The decision framework prioritizes waterfall elimination and bundle-size reduction first, followed by server-side performance, client-side fetching, and then re-render micro-optimizations.

What are the limitations of using a rule hierarchy for React performance reviews?

The limitation of using a rule hierarchy for React performance reviews is that it enforces a strict priority order from waterfall elimination to micro-optimizations. Teams must manually map their specific server, client, and API route bottlenecks to the eight structured sections to apply fixes effectively.