Lightlines
By alejandrobailo

no-use-effect

alejandrobailo714 installs

React components without direct useEffect calls.

What it does

Guides React and React Native development toward components that replace direct useEffect calls with more appropriate state and lifecycle patterns.

When to use it

Apply when writing, editing, reviewing, debugging, or refactoring React components, and when discussing effects, fetching, state synchronization, or lifecycle.

How to use it

It changes how the agent writes React components by prohibiting direct useEffect imports and calls while allowing encapsulated effects in reusable custom hooks.

What you provide

  • An existing project

Latest review

What you need · 1

The coding rules apply to React codebases, including React Native codebases.


Access · 0

No additional actions listed.