Read time: 2 minutes Today, we will see how to cancel web requests with the AbortController API. It is essential to know this since, on many occasions, we will have specific components that will be disassembled from our application and that have pending requests. If we do not cancel them, they will remain in the background even though the information they return is no longer of interest to us or we need it.
Share this post
Aborting Web Requests
Share this post
Read time: 2 minutes Today, we will see how to cancel web requests with the AbortController API. It is essential to know this since, on many occasions, we will have specific components that will be disassembled from our application and that have pending requests. If we do not cancel them, they will remain in the background even though the information they return is no longer of interest to us or we need it.