Today I learned that you can cancel fetch requests using the AbortController.
This used to be a major shortcomming of fetch but apparently it’s been part of the web platform since 2019.
This post also explains some additional use cases for the AbortController
.