jargon

Frontend & browser·JavaScript in the browser

the component unmounted mid-request, so you cancelled the fetch instead of letting it resolve into nothing.

AbortController

Also calledabort signal, cancellation

A cancellation token accepted by `fetch`, `addEventListener` and a growing set of platform APIs. Passing one signal to every listener a component registers means teardown is a single `abort()` call rather than a list of matching `removeEventListener` calls. For requests it also prevents an out-of-order response from overwriting fresher data, which is the more valuable half.

Commonly confused with