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
Inspect the installed React version, framework, data layer, and compiler configuration before choosing APIs. Preserve those choices unless changing them is part of the task.
For a slow interaction, expensive render, long list, or memoization decision, read rendering performance. For ordinary component work, use the guidance below; profiling the whole application is not a prerequisite for a small edit.
Use the project's framework loaders, server components, or query library when appropriate. If a fetch effect is needed, handle races, cancellation, errors, and loading. Do not introduce a data library solely to avoid one effect.
Start independent requests together when their failure semantics allow it. Avoid parent/child fetch waterfalls. Preserve loading, empty, failure, and stale-data states.
Lazy-load heavy optional UI when it improves initial delivery. Inspect actual chunk output before changing import style; a barrel import is not automatically expensive. Changes to TanStack query keys or mutations should follow the installed TanStack API.
useActionState / useFormStatus boundaries and provide error handling; an Action does not make arbitrary failures disappear.useOptimistic inside its action/transition context. Treat optimistic UI as provisional and reconcile failed or concurrent writes.use() reads need a stable promise from an appropriate cache/framework; avoid creating a new fetch promise during every render.document.startViewTransition calls on the same update. Retain reduced-motion behavior and a supported fallback.Exercise the affected interaction and relevant loading/error states. Run the project's applicable lint, typecheck, build, and tests. For performance changes, compare the same interaction before and after using the method in the linked reference.
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.