git clone https://github.com/ekaone/hooks-async.git
cd hooks-async
npm install
npm startTry 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 DIRECTORYfield to./build/
Have an idea? Found a bug? See how to contribute.
MIT Β© Eka Prasetia
