reviewing-performance-patterns

Analyze React 19 performance patterns for re-renders, memoization, and bundle size.

Updated Nov 21, 2025
One-click install
npx skills add https://github.com/djankies/claude-configs --skill reviewing-performance-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: reviewing-performance-patterns
Source: https://github.com/djankies/claude-configs/tree/main/react-19/skills/reviewing-performance-patterns
Command: npx skills add https://github.com/djankies/claude-configs --skill reviewing-performance-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a checklist to review React 19 performance patterns, including memoization, re-renders, and bundle size considerations.

Core Features & Use Cases

  • Evaluate re-render causes, memoization practices, and bundle size strategies.
  • Emphasize React Compiler benefits and appropriate use of Server Components.
  • Use preloading and resource loading optimizations for performance.

Quick Start

Run a codebase review focusing on render counts, memo usage, and code-splitting opportunities.

Frequently Asked Questions about reviewing-performance-patterns

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

FAQPage Schema
How do I identify unnecessary re-renders in my React 19 application?

Unnecessary re-renders occur when components update without prop or state changes. Audit re-render behavior by tracking render counts, checking memoization decisions, and reviewing which components truly need to update. React 19 patterns help you spot and eliminate these inefficiencies.

When should I use React.memo, useMemo, and useCallback in React 19?

React.memo prevents re-renders when props haven't changed; useMemo caches computed values; useCallback memoizes functions. Apply these strategically during performance audits—wrap components selectively, ensure correct dependency arrays, and leverage React Compiler benefits to avoid over-memoization.

What's the best way to reduce bundle size in React 19 applications?

Bundle size optimization combines code-splitting, Server Components, and lazy loading strategies. Review splitting opportunities, apply Server Components appropriately, and optimize resource preloading. This reduces initial payload and improves load performance across React 19 apps.

How do I use React 19 Server Components for performance?

Server Components render on the server, reducing client-side JavaScript and improving performance. Determine which components should run server-side versus client-side, then apply Server Components appropriately within your React 19 architecture for optimal rendering and resource efficiency.

What are common memoization anti-patterns I should avoid?

Anti-patterns include memoizing everything indiscriminately, incorrect dependency arrays, and wrapping low-cost components unnecessarily. Performance audits catch these; focus memoization on genuinely expensive renders and ensure dependencies are accurate to prevent bugs and overhead.