https://github.com/robertoachar/react-fetch-abort-controller
React + fetch + Abort Controller
https://github.com/robertoachar/react-fetch-abort-controller
abort abort-controller api controller fetch react signal
Last synced: 2 months ago
JSON representation
React + fetch + Abort Controller
- Host: GitHub
- URL: https://github.com/robertoachar/react-fetch-abort-controller
- Owner: robertoachar
- License: mit
- Created: 2019-03-13T17:52:23.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-18T23:59:29.000Z (over 7 years ago)
- Last Synced: 2025-05-15T09:43:29.961Z (about 1 year ago)
- Topics: abort, abort-controller, api, controller, fetch, react, signal
- Language: JavaScript
- Homepage: https://robertoachar.github.io/react-fetch-abort-controller
- Size: 142 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# react-fetch-abort-controller
[![License][license-badge]][license-url]
> React + fetch + Abort Controller
# Development
- Clone the repo
```bash
$ git clone https://github.com/robertoachar/react-fetch-abort-controller.git
```
- Install dependencies
```bash
$ npm install
```
- Run scripts
| Action | Usage |
| --------------------------- | --------------- |
| Start development mode | `npm start` |
| Build for production | `npm run build` |
| Lint code | `npm run lint` |
| Run tests | `npm run test` |
| Eject from create-react-app | `npm run eject` |
# Author
[Roberto Achar](https://twitter.com/robertoachar)
# License
[MIT](https://github.com/robertoachar/react-fetch-abort-controller/blob/master/LICENSE)
[license-badge]: https://img.shields.io/github/license/robertoachar/react-fetch-abort-controller.svg
[license-url]: https://opensource.org/licenses/MIT