Skip to main content

no-use-effect

Stars1
Forks0
UpdatedMarch 18, 2026 at 19:07

Avoid useEffect as a best practice. Use this skill when writing React components or refactoring existing useEffect calls or when explicitly asked to remove useEffect. Provides the five replacement patterns and the useMountEffect escape hatch.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

SKILL.md
readonly