Cancel your promises when a component unmounts
In basically all React applications you will need to perform some async operations in your components...
Tags: react, hooks, promise, javascript