useMountedEffect: asynchronous useEffect on potentially unmounted components
this post describes how to use asynchronous logic within effects of a react app without causing issues after unmounting 
Tags: react, typescript, reacthooks