The code for this article is in this codesandbox, If you don’t need explanations as to why things are happening, head over there, otherwise keep reading, I promise you will learn a thing or two. Why Cancel Requests? It is one thing to write an asynchronous call to an API to fetch data…