git clone https://github.com/ekaone/hooks-async.git
cd hooks-async
npm install
npm start
Try search at text form such as React
, Golang
or anything else you like, try press Abort Request
to cancel request, and immediately the request will be terminated.
React custom hooks for async functions with abortability and composability is as weel as with AbortController that allows you to abort one or more Web requests as and when desired.
Some resources:
- 🚀 Demo
- What is hooks-async
- What is AbortController
- What is snowpack
Note: If you try deploy to Vercel, fill value from
OUTPUT DIRECTORY
field to./build/
Have an idea? Found a bug? See how to contribute.