use-abortable-fetch

JSON →
library 3.0.3 ·javascript
verified Jun 7, 2026

React hook that wraps the Fetch API and automatically aborts in-flight requests when the component unmounts or a new request is initiated. Version 3.0.3 is current stable with no regular release cadence; niche alternative to SWR/React Query for simple cases. Differentiator: minimal API (only one hook), no caching, no deduplication, built-in abort controller logic.