Write React components without direct useEffect calls.
Guides React development and reviews toward replacing direct useEffect calls with patterns suited to their purpose.
When to use it
Use when writing React components, refactoring useEffect calls, reviewing PRs that introduce useEffect, or addressing effects added just in case.
It changes how the agent writes and refactors React components by replacing direct useEffect calls with derived state, event handlers, data-fetching libraries, or useMountEffect.
What you provide
The guide applies to project code using React.
No additional actions listed.