Optimizes React app performance: React Compiler, bundle size, rendering, data fetching, Core Web Vitals, state subscriptions, profiling, memory management. Use when optimizing performance, analyzing bundles, improving vitals, or profiling bottlenecks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pproenca-dot-skills-1:react-optimiseThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Application-level performance optimization guide for React applications. Contains 43 rules across 8 categories, prioritized by impact from critical (React Compiler, bundle optimization) to incremental (memory management).
Application-level performance optimization guide for React applications. Contains 43 rules across 8 categories, prioritized by impact from critical (React Compiler, bundle optimization) to incremental (memory management).
| Category | Impact | Rules | Key Topics |
|---|---|---|---|
| React Compiler Mastery | CRITICAL | 6 | Compiler-friendly code, bailout detection, incremental adoption |
| Bundle & Loading | CRITICAL | 6 | Route splitting, barrel elimination, dynamic imports, prefetching |
| Rendering Optimization | HIGH | 6 | Virtualization, children pattern, debouncing, CSS containment |
| Data Fetching Performance | HIGH | 5 | Waterfall elimination, route preloading, SWR, deduplication |
| Core Web Vitals | MEDIUM-HIGH | 5 | INP yielding, LCP priority, CLS prevention, image optimization |
| State & Subscription Performance | MEDIUM-HIGH | 5 | Context splitting, selectors, atomic state, derived state |
| Profiling & Measurement | MEDIUM | 5 | DevTools profiling, flame charts, CI budgets, production builds |
| Memory Management | LOW-MEDIUM | 5 | Effect cleanup, async cancellation, closure leaks, heap analysis |
Critical patterns — get these right first:
Common mistakes — avoid these anti-patterns:
react skillnextjs-16-app-router skillreact-hook-form skillnpx claudepluginhub joshuarweaver/cascade-code-general-misc-1 --plugin pproenca-dot-skills-1Optimizes React apps using memoization, code splitting, virtualization, and efficient rendering. Reduces bundle size, prevents unnecessary re-renders, and improves performance with large datasets.
Optimizes React and Next.js apps with 40+ rules for eliminating waterfalls, optimizing bundles, and improving rendering. Use for performance reviews, refactoring, or debugging data-fetching.
Optimizes React 18/19 and Next.js performance with 70+ rules across 8 priority categories: waterfalls, bundle size, server/client fetching, re-renders, rendering, JS micro-performance, and advanced patterns.