1. Abort a Fetch Request in React on Unmount (jaketrent.com)
Here's a nice pattern to abort a fetch request in React when the component unmounts.To see the basics of how to deal with the the API, see this article on fetch API's abort controller.The thing we're trying to do here is show a good pattern for the React case. I'll show it from the standpoint of a h...