React performance

From HoangNguyen0403/agent-skills-standard · View interactive version

React performance is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Optimize React rendering, bundle size, and data flow with profiler-led decisions. Use when reducing re-renders, fixing waterfalls, or deciding whether memoization is warranted in React.

How to use this skill

Skill file

React Performance

**Priority: P0 (CRITICAL)**

Decision Map

Recipe

  1. Find the hotspot: profiler flamegraph, bundle analyzer, or waterfall trace.
  2. Pick the narrow fix: state placement, context split, transition, lazy load, or memoization.
  3. Retest after change: confirm the render count or blocking time actually improved.
  4. Keep slow work off the main path: workers for heavy compute, streaming for slow I/O.

Verify

Anti-Patterns

References

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.