DEV Community

Discussion on: Cleaning up Async Functions in React's useEffect Hook (Unsubscribing)

Collapse
 
httpjunkie profile image
Eric Bishard

Like the isMounted solution or not, this article is helpful. It sends the reader down a path of starting to understand the lifecycle (if we can call it that) and gets them thinking about the right way to do things. The comments also suggest some better ideas so all together, I think the reader walks away with more of an understanding. As well, you have done a good job at explaining some intermediate level hooks ideas. Very nice!

Collapse
 
elijahtrillionz profile image
Elijah Trillionz

Thanks you very much.
Really encouraging.

Some comments have been hidden by the post's author - find out more