Glossary term
What is AbortController? Meaning for developers
In Scenario Debugging
Cancels a running fetch (or removes listeners) with a signal. A cancelled fetch fails with an AbortError.
Learn it properly · Scenario DebuggingLesson 5: Duplicate Requests, Race Conditions and Stale ResponsesStrict Mode running effects twice, double-click submits, responses that arrive in the wrong order, AbortController, removing duplicate requests, and idempotency keys on the server.In React in Depth
A built-in tool to cancel an in-flight fetch; the cancelled fetch rejects with an AbortError.
Learn it properly · React in DepthLesson 5: Data Fetching, Caching and Server Statefetch in effects and its bugs, race conditions, loading and error states, TanStack Query ideas, and Suspense with use().