# mauricedb/use-abortable-fetch

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/mauricedb-use-abortable-fetch).**

161 stars · 5 forks · TypeScript · MIT

## Links

- GitHub: https://github.com/mauricedb/use-abortable-fetch
- Homepage: https://www.npmjs.com/package/use-abortable-fetch
- awesome-repositories: https://awesome-repositories.com/repository/mauricedb-use-abortable-fetch.md

## Description

React hook that does a fetch and aborts when the components is unloaded  or a different request is made

## Tags

### Part of an Awesome List

- [Data Fetching](https://awesome-repositories.com/f/awesome-lists/devtools/data-fetching.md) — Fetch with automatic abort on unmount.
