DEV Community

Using the useEffect hook

Leigh Halliday on March 28, 2019

This article was originally published on my blog at https://www.leighhalliday.com/use-effect-hook useEffect is meant to handle any sort of "side e...
Collapse
 
dance2die profile image
Sung M. Kim

Thank you, Leigh for the article~

I only knew about Avoid setting state on unmounted components way of not setting a state when a component unmounts.

Surprising that Axios provides a way to cancel a request, which would be more efficient 😮

Collapse
 
leighhalliday profile image
Leigh Halliday

No prob, Sung! Thanks for reading. Fetch also provides a way to cancel a request, I made a video about it here if you're interested: youtu.be/JGASDKLZcdw

Collapse
 
dance2die profile image
Sung M. Kim

Thanks Leigh~

I see so many videos on your page, as well. 😮
youtube.com/user/leighhalliday