DEV Community

Discussion on: Trouble with useEffect running every render? `useEffectRef` to the rescue!

Collapse
 
wialy profile image
Alex Ilchenko

Yes, the explanation is very nice and a lot of aspects are covered. Also, the warning about not to overuse this technique is cool. However I'm afraid it may encourage people to do so, and IMO there's no reason to do that at all.