Common React Mistakes: useEffect - Part 2
Video Statistics and Information
Channel: Jack Herrington
Views: 21,095
Rating: undefined out of 5
Keywords: react js, react js tutorial, react mistakes useEffect, common react mistakes, common mistakes in react, common mistakes in reactjs, react useeffect mistakes, mistakes to avoid reactjs, mistakes to avoid react hooks, react hook useeffect mistakes, reactjs mistakes to avoid, avoid mistakes for react hooks, react useeffect mistakes to avoid, avoid reactjs mistakes, avoid react hooks mistakes, mistakes in react hooks, mistakes in react, mistakes in useeffect hook
Id: F-0SZ_TicXA
Channel Id: undefined
Length: 20min 44sec (1244 seconds)
Published: Wed Apr 07 2021
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.
Curious to know why isnβt he clearing setInterval on component unmount? By not clearing those timers, you end up with memory leaks. isMounted is a fancy solution I think.
Overall nice tutorial, thanks for sharing.