Skip to content

πŸš¦πŸš€ Fetching hooks-async πŸ’‘ JavaScript promises are not abortable/cancelable, this is provide abortable async functions with React Hooks API

License

Notifications You must be signed in to change notification settings

ekaone/hooks-async

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

project-name

hooks-async

Ask me anything

Contents

☁️ Installation

git clone https://github.com/ekaone/hooks-async.git
cd hooks-async
npm install
npm start

⁉️ Usage

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.

πŸ“š Documentation

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:

Note: If you try deploy to Vercel, fill value from OUTPUT DIRECTORY field to ./build/

πŸ˜‹ How to contribute

Have an idea? Found a bug? See how to contribute.

πŸ“œ License

MIT Β© Eka Prasetia

About

πŸš¦πŸš€ Fetching hooks-async πŸ’‘ JavaScript promises are not abortable/cancelable, this is provide abortable async functions with React Hooks API

Topics

Resources

License

Stars

Watchers

Forks