Lightlines
By factory-ai

no-use-effect

factory-ai1k installs

Write React components without direct useEffect calls.

What it does

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.

How to use it

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

  • An existing project

Latest review

What you need · 1

The guide applies to project code using React.


Access · 0

No additional actions listed.