When I started learning React, I made a few mistakes with the way I was using React.useEffect, especially managing the dependencies. My effects kept on running when I didn't want them to run, causing strange bugs in my apps. So today I would like to ...

Markdown supported · ⌘↵ to post
Julien Rialland
Thx for this awesome article, It's definitively improve the way I code behaviours on my component, as it seems more elegant than overriding onStateChange in certain cases -