What problem does it solve?
Reduces wasted performance effort by telling you which React patterns React Compiler will auto-memoize, and which architectural boundaries still require manual optimization.
Core Features & Use Cases
- Auto-memo truth over guesswork: Explains that the skill’s conclusions follow the real
babel-plugin-react-compiler output, so you don’t overuse useMemo/useCallback.
- Memo-able pattern coverage: Covers common cases like inline JSX/callback/object literals, spread returns, and filter/map/reduce/sort in hooks.
- Explicit non-coverage boundaries: Identifies cases you must handle yourself, including component boundary memoization, “don’t include prop in identity” intent, and high-frequency
setState commit rate issues.
- Verification workflow: Provides a probe approach to compile a snippet and inspect output patterns (e.g., cache slot checks like
if ($[0] !== dep)).
Quick Start
Ask the skill to tell you whether a specific React pattern should be manually optimized, and to justify the answer by mapping it to the expected babel-plugin-react-compiler memo behavior.