What it does
Analyze and optimize React component performance issues (slow renders, re-render thrash, laggy lists, expensive computations)
Skills ZICQ category:Agent Workflows react-component-performance
Analyze and optimize React component performance issues (slow renders, re-render thrash, laggy lists, expensive computations). Use when asked to profile or improve a React component, reduce re-renders, or speed up UI updates in React apps.
Official URL:skills.sh
Intro in this page language first. The official description stays in its original wording; we do not rewrite SKILL.md.
Analyze and optimize React component performance issues (slow renders, re-render thrash, laggy lists, expensive computations)
asked to profile or improve a React component, reduce re-renders, or speed up UI updates in React apps
Per Agent Skills progressive disclosure: name and description load at startup (~100 tokens); the full SKILL.md body loads when the skill activates; scripts/, references/, and assets/ load only as needed. This file's sections: React Component Performance; Overview; Workflow; Checklist; Optimization Patterns; Isolate ticking state. It includes spec-recommended sections: step-by-step instructions, input/output examples.
File analysis: besides SKILL.md, the body references references/examples.md. Those resources load on demand.
React Component PerformanceOverviewWorkflowChecklistOptimization PatternsIsolate ticking stateStabilize callbacks with `useCallback` + `memo`Prefer derived data outside renderAdditional patternsProfiling Validation StepsExample Reference
Source category:skills.sh agent-skill
namereact-component-performancedescriptionreferences/examples.mdThese paths are extracted from the text. Check the upstream package to verify the files exist.
Invocation syntax and available tools depend on your Agent client. Client integration guide ↗
Choose the target agent and installation scope, keep referenced package files, then verify the skill appears in the client's catalog.
This skill references supporting files. Retrieve the complete directory from the source; copying SKILL.md alone may leave missing dependencies.
Copy these instructions to a compatible agent and confirm the target directory matches your client.
Install the agent skill "react-component-performance" into my project. The full SKILL.md and official description are at https://zicq.com/en/skills/skl-d2da9a8158bd6484-React-Component-Performance.html Save it as .cursor/skills/react-component-performance/SKILL.md or .claude/skills/react-component-performance/SKILL.md and keep the frontmatter name and description exactly as-is. This skill also ships scripts/, references/, or assets/ — fetch the whole folder from https://github.com/dimillian/skills instead of creating only a SKILL.md.
Requires Node.js and npx. First inspect the repository's skill list to confirm the name.
npx skills add 'https://github.com/dimillian/skills' --list
npx skills add 'https://github.com/dimillian/skills' --skill 'react-component-performance'
The CLI lets you choose the agent interactively. The default scope is the project; use -g for user scope. Confirm package availability with the discovery command, then use npx skills list to inspect installed skills.
Total: {total}
; } // ✅ After – recomputes only when orders changes function Summary({ orders }: { orders: Order[] }) { const total = useMemo(() => orders.reduce((sum, o) => sum + o.amount, 0), [orders]); returnTotal: {total}
; } ``` ### Additional patterns - **Split rows**: extract list rows into memoized components with narrow props. - **Defer heavy rendering**: lazy-render or collapse expensive content until expanded. ## Profiling Validation Steps 1. Open **React DevTools → Profiler** tab. 2. Click **Record**, perform the slow interaction, then **Stop**. 3. Switch to **Flamegraph** view; any bar labeled with a component and time > ~16 ms is a candidate. 4. Use **Ranked chart** to sort by self render time and target the top offenders. 5. Apply one optimization at a time, re-record, and compare render counts and durations against the baseline. ## Example Reference Load `references/examples.md` when the user wants a concrete refactor example.Agent Workflows
Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that exte…
Agent Workflows
Use the ClawdHub CLI to search, install, update, and publish agent skills from clawdhub.com. Use when you need to fetch new skills on the fl…
Agent Workflows
Orchestrate multi-agent teams with defined roles, task lifecycles, handoff protocols, and review workflows. Use when: (1) Setting up a team …
Agent Workflows
Spec-first, TDD, subagent-driven software development workflow. Use when: (1) building any new feature or app — triggers brainstorm → plan →…