I'm getting tempted to use ESLint to warn on usage of useEffect
I'm getting tempted to use ESLint to warn on usage of useEffect.
Something like: Please re-read "You Might Not Need useEffect" and then ask, do the rare exceptions apply to your use case? Disable this rule if you're sure.
https://react.dev/learn/you-might-not-need-an-effect
Most useEffect's are needless.