Why React useEffect is not unmounting 3 years ago 1 min read reactjsuseeffect Recently I faced a problem where my useEffect is not triggering the unmount code which is the return function. Reason is that there was an async call for some stupid reason.