← ClaudeAtlas

react-performancelisted

Use when a React UI is slow, janky or has poor INP; reviewing `useMemo`, `useCallback`, `memo` or React Compiler (`babel-plugin-react-compiler`, `"use no memo"`) changes; diagnosing re-renders with the Profiler; using `useTransition`, `useDeferredValue`, `<Activity>`, `React.lazy`, `next/dynamic`, `optimizePackageImports`, barrel imports, or virtualizing and `content-visibility` for long lists.
Lu1sDV/skillsmd · ★ 2 · AI & Automation · score 63
Install: claude install-skill Lu1sDV/skillsmd
# React Performance Baseline: **React 19.3**, **React Compiler 1.0**, eslint-plugin-react-hooks 7, **Next.js 16** App Router. Version gates: `<Activity>` ≥ 19.2; async transitions/Actions ≥ 19; compiler runs on React 17/18 via `target` + `react-compiler-runtime`. Evidence: audit plus independent verification on 2026-11-07 (see [README](README.md#sources-and-decisions)). Every rule in the references carries its source URL and conditions. ## Route by symptom | Task | Load | |---|---| | Slow interaction, "why does this re-render", Profiler, state placement, context/store re-renders | [Measure and re-renders](references/measure-rerenders.md) | | Adding or removing `memo`/`useMemo`/`useCallback`, enabling or debugging the compiler | [Memoization and compiler](references/memoization-compiler.md) | | Bundle size, `lazy`/`next/dynamic`, barrels, long lists, `<Activity>`, third-party scripts | [Loading, bundles, lists](references/loading-bundles-lists.md) | | Typing lag, `useTransition`/`useDeferredValue`, INP | [Transitions and INP](references/transitions-inp.md) | Load only the relevant file. ## Workflow 1. **Measure in a production build** (dev builds can be an order of magnitude slower). Reproduce with CPU throttling or low-end hardware. Use the React DevTools Profiler; `<Profiler>` is off in production unless you use a profiling build. 2. **Fix a slow render before reducing re-renders.** Then check state placement: move state down, or pass the expensive subtree