Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    React Performance Audit: Find Wasted Re-renders

    1

    Finds the re-renders and wasted work that actually slow your React app, ranks them by impact and gives the smallest fix plus how to verify it.

    $3

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    React Performance Audit: Find Wasted Re-renders

    React Performance Audit: Find Wasted Re-renders

    Example session with this skill installed

    /react-perf audit src/ (the product list has about 5,000 items)

    • Read your context and instructions
    • Compiled the react performance audit

    Setup: React 18.3 + Vite, plain Context, no React Compiler.

    ImpactFile:lineProblemWhy it costsFix
    🔴 highApp.jsx:12, App.jsx:14, ProductList.jsx:5Context value {cart, setCart, currency, locale} and onAdd={(p) => …} are new objects every render; static and changing values share one contextEvery keystroke gives the context a new value and every Row a new onAdd, so memo(Row) never skips: ~5,000 rows re-render per keystrokeStatic currency/locale in their own constant context; onAdd = useCallback(p => setCart(c => [...c, p]), []) (also fixes a stale-closure bug)
    🔴 highProductList.jsx:6new Intl.NumberFormat(...) inside every rowSlow to construct; ~5,000 per keystrokeCreate the formatter once and pass the formatted price
    🔴 highProductList.jsx:195,000 <li> without virtualizationMounting and diffing thousands of nodesreact-window or @tanstack/react-virtual (~30 rows mounted)
    🔴 highProductList.jsx:11-18Filtered list copied into state by an effect, re-sorted on every queryTwo renders per keystroke plus an O(n log n) sort that doesn't depend on the querySort once with useMemo + Intl.Collator, filter during render, optional useDeferredValue
    🟡 mediumProductList.jsx:19key={i} on a filtered, sorted listKeys point at different products after each filterkey={p.id}
    🟡 mediumSalesChart.jsx:6-9Effect with no dependency array and no cleanupNew Chart on every render ("Canvas is already in use") and intervals that pile upEmpty deps, return () => { chart.destroy(); clearInterval(id) }
    🟡 mediumApp.jsx:3chart.js imported eagerly, used only after a click~60–70 KB gzipped in the main bundlelazy(() => import("./SalesChart")) + Suspense

    How to verify: Profiler "Highlight updates" while typing one character (before: ~5,000 Row renders; after: only changed rows, 0 on "Add"); one commit per keystroke instead of two; document.querySelectorAll("li").length drops from ~5,000 to ~30.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Type "/react-perf" (optionally with files or a folder) and your agent audits your components in a fixed order:

    1. Re-render cascades: inline objects/functions passed to memoized children or context providers, contexts that mix fast and static values, state kept too high.
    2. Expensive work in render: sorting/filtering/formatting large data every render, derived state synced with effects.
    3. Effects: missing or unstable dependencies, state set from effects, missing cleanup for timers and subscriptions.
    4. Lists: index keys on reorderable lists, long lists without virtualization.
    5. Loading: heavy libraries imported eagerly on routes that rarely use them.

    It detects your React version, framework and whether the React Compiler is on, so it doesn't suggest memoization the compiler already does. You get a table ranked by impact (file:line, problem, why it costs, smallest fix) plus how to verify each high-impact fix with the React DevTools Profiler. It does not edit code unless you ask, and it never recommends blanket useMemo/useCallback.

    Tested in Claude Code 2.1 on a React 18 + Vite store with ~5,000 products and 6 planted performance bugs: it found all 6 and also proposed virtualizing the list (see the sample output).

    Unofficial. Not affiliated with Anthropic.

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Frontend & Web Apps.

    Static analysis of your code: it does not run your app or a real profiler, so confirm the gains with the verification steps it gives. Focused on React (web); React Native specifics are not covered.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed today

    Software
    Git

    Permissions

    Read Files
    Terminal / Shell

    File Scopes

    src/**
    package.json

    Reads your components and package.json; may run git diff/git status to find changed files. Does not write files unless you ask, no network access.

    Listedtoday

    What's inside

    Frequently Asked Questions

    No. It only reports findings and fixes. It edits code only if you ask it to apply them.

    No. It only reports problems tied to a concrete cost (what re-renders or recomputes, and how often), and it skips memoization the React Compiler already does.

    React on the web with Next.js, Vite, CRA or Remix, and Context, Redux, Zustand or React Query. It detects these from your code and package.json.

    Every high-impact finding comes with a verification step: React DevTools Profiler highlights, a render counter, or a before/after timing.

    New in Frontend & Web Apps