I\'ve learned that to prevent memory leaks, I\'m supposed to clean up after useEffect hooks which call async functions to update state.
I have found a couple of solutions