DEV Community

Discussion on: Avoiding race conditions and memory leaks in React useEffect

Collapse
 
saranshk profile image
saransh kataria

Though that can be done, it will never return true since whenever the signal will be aborted, the code would enter the catch block because of the exception thrown.