react-performance-review

Review React source files for performance issues and optimization opportunities.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/thanhtunguet/agent-skills --skill react-performance-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: react-performance-review
Source: https://github.com/thanhtunguet/agent-skills/tree/main/react-performance-review
Command: npx skills add https://github.com/thanhtunguet/agent-skills --skill react-performance-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps developers identify and prioritize performance anti-patterns in React applications so they can reduce UI jank, unnecessary renders, and large initial bundles.

Core Features & Use Cases

  • Concurrency checks: Detect missing useTransition, useDeferredValue, and Suspense boundaries to prevent blocking renders for expensive updates.
  • Effect and memoization analysis: Find incorrect or missing useEffect dependencies, missing cleanups, unnecessary effects, unstable callbacks, and misuse of useMemo/useCallback/React.memo.
  • Re-render and state optimization: Surface context/provider re-render blast, prop stability issues, redundant state, and opportunities for colocating or using reducers.
  • Bundle and loading improvements: Identify heavy synchronous imports, missing code-splitting opportunities, and absent lazy-loading fallbacks.
  • Use case: Audit a search component that filters large lists, a dashboard with heavy visualizations, or an app with routing delays.

Quick Start

Ask the skill to perform a React performance review of a component or file and return critical issues, warnings, suggestions, and a short summary.

Frequently Asked Questions about react-performance-review

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

FAQPage Schema
How do I find and fix React performance bottlenecks in my application?

To fix React performance bottlenecks, audit source files for missing useTransition boundaries, incorrect useEffect dependencies, unstable callbacks, and heavy synchronous imports to reduce UI jank and unnecessary renders.

Why does my React component re-render excessively and how can I optimize it?

React components re-render excessively due to context provider blast radius, prop stability issues, or missing memoization. Optimize re-renders by applying React.memo, useMemo, useCallback, and colocating state or using reducers to isolate updates.

How do I audit React useEffect dependencies and memoization for performance issues?

Audit React useEffect and memoization by detecting missing effect dependencies, absent cleanups, and misuse of useMemo or useCallback. Reviewing source files identifies unstable callbacks and unnecessary effects causing performance degradation.

How can I improve React bundle size and loading speed with code splitting?

Improve React bundle size and loading speed by identifying heavy synchronous imports and applying code splitting. Add lazy loading for components and ensure Suspense boundaries provide fallbacks to prevent blocking renders during initial load.

When do I need useTransition or useDeferredValue to prevent blocking renders in React?

You need useTransition or useDeferredValue when expensive updates block the UI, such as filtering large lists or rendering heavy visualizations. These concurrency features defer expensive renders to keep the main thread responsive.

Can I use a React performance review for complex dashboards and routing delays?

Yes, a React performance review applies to complex dashboards with heavy visualizations and apps with routing delays. It detects missing code splitting, absent lazy loading, and state management issues causing initial load delays.