Promise

Always cancel promises started in React.useEffect
If you start a promise inside useEffect, make sure to cancel it in the cleanup handler.
December 11, 2021