Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Builds and reviews React components, hooks, state, data loading, and rendering performance.
87% 96%+9 ptsof test cases passed
Passed 22 of 23 test cases with the skill, and 20 of 23 without it.
This test ran on v2. v3 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
Use this reference when an interaction is slow or a proposed optimization needs evidence. Capture the same representative interaction before and after the change.
Use React DevTools Profiler to distinguish frequent renders, large rendered trees, and expensive individual components. Use the browser Performance trace to separate React work from event-handler computation, style/layout, paint, and network delay. Development checks and tooling can affect timings; compare like-for-like runs.
| Evidence | Candidate change |
|---|---|
| Fast-changing state rerenders unrelated content | Move state closer to its owner or split the changing subtree. |
| A costly child rerenders with equivalent props | Check prop identity and compiler coverage; memoize only the work that benefits. |
| Thousands of rows mount or update together | Window or paginate the list; preserve focus, keyboard navigation, and accessible row information. |
| Sorting/filtering dominates an event handler | Use a worker, yielding chunks, or precomputation. Scheduling a React transition cannot interrupt that calculation. |
| Layout follows repeated geometry reads/writes | Batch reads before writes and reduce layout scope. |
| Heavy subtrees repeatedly remount | Check unstable keys/component definitions, then compare keeping state mounted with its memory/hidden-work cost. |
Use refs for transient values that do not drive rendered UI. Keep controlled input updates urgent. Stabilize props only where identity causes measured downstream work; allocating a small object during render is not inherently a bug. Static content can benefit from CSS content visibility, but that does not remove React reconciliation or replace list virtualization.
const [query, setQuery] = useState('');
const [resultsQuery, setResultsQuery] = useState('');
const [isPending, startTransition] = useTransition();
const onChange = (value: string) => {
setQuery(value); // urgent controlled input
startTransition(() => setResultsQuery(value));
};
// A separate Results component renders from resultsQuery.
startTransition invokes its callback immediately. Calling an expensive
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.