Simpler React components with fewer Effects.
Guides agents to simplify React state logic and write Effects with proper cleanup.
When to use it
Use when writing or reviewing useEffect, storing derived state, implementing data fetching or subscriptions, or debugging synchronization and race conditions.
It changes how the agent writes and reviews React components by preferring render-time calculations and event handlers over unnecessary Effects.
What you provide
Applies to project code using React and its hooks.
No additional actions listed.