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 ...
javascript-for-breakfast.com9 min read
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 -
Pratik Sharma
Developer || Learner
Nicely explained the concept of useEffect.