react-best-practices

Identify render waterfalls, unnecessary re-renders, and large bundle sizes in React/Next.js projects.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Jtapias92672/OneDrive_1_1-19-2026-2 --skill react-best-practices-jtapias92672
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-best-practices
Source: https://github.com/Jtapias92672/OneDrive_1_1-19-2026-2/tree/main/mcp-gateway/.claude/skills/react-best-practices
Command: npx skills add https://github.com/Jtapias92672/OneDrive_1_1-19-2026-2 --skill react-best-practices-jtapias92672

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Comprehensive guidelines to identify and fix React/Next.js performance issues, including render waterfalls, excessive re-renders, and bloated bundles.

Core Features & Use Cases

  • 40+ rules across 8 categories addressing render waterfalls, re-render optimization, bundle reduction, and SSR/SSG decisions.
  • Actionable patterns for caching, memoization, and server/client components with practical use cases across real projects.
  • Use Case: Audit a React app to improve TTI, reduce hydration costs, and streamline data fetching across pages.

Quick Start

Run a performance audit on a React/Next.js project to identify waterfalls and optimize bundle size.

Frequently Asked Questions about react-best-practices

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

FAQPage Schema
How do I audit my React app for render waterfalls and unnecessary re-renders?

To audit a React app for render waterfalls and unnecessary re-renders, apply 40+ rules across 8 categories targeting component structures, hook usage, and memoization patterns to identify performance bottlenecks.

What causes excessive re-renders in Next.js client components?

Excessive re-renders in Next.js client components are caused by improper useEffect dependency management and missing memoization. Auditing these hook dependencies and applying caching strategies resolves the performance issues.

How do I reduce bundle size and hydration costs in a Next.js project?

Reduce bundle size and hydration costs in a Next.js project by auditing SSR/SSG decisions, optimizing server/client component boundaries, and applying bundle reduction patterns to streamline data fetching across pages.

What is the best way to optimize useEffect dependencies for React performance?

The best way to optimize useEffect dependencies for React performance is applying specific code-quality patterns to manage caching strategies and prevent render waterfalls, ensuring effects only trigger when necessary.

Can I use this approach to improve Time to Interactive (TTI) for existing React codebases?

Yes, you can use this auditing approach to improve Time to Interactive (TTI) for existing React codebases by detecting bloated bundles and applying actionable patterns for caching, memoization, and SSR/SSG decisions.