DEV Community

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

Collapse
 
tanth1993 profile image
tanth1993

yeah. I don't like using isMounted, but in React component this is maybe the common way to handle the unmount component

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