Any promises that are used to change state need to be cancelled when the component unmounts to prevent memory leaks
Any promises that are used to change state need to be cancelled when the component unmounts to prevent memory leaks