0 Forks
6 Stars
6 Watchers

api-refetch

Alternative to SWC or react-query. Hook that store your API calls and provide states as isLoading, isFetched, data, error. Allow to instantly fetch the API when the hook is mounted. Provide retry and revalidation options.

How to download and setup api-refetch

Open terminal and run command
git clone https://github.com/aymericzip/api-refetch.git
git clone is used to create a copy or clone of api-refetch repositories. You pass git clone a repository URL.
it supports a few different network protocols and corresponding URL formats.

Also you may download zip file with api-refetch https://github.com/aymericzip/api-refetch/archive/master.zip

Or simply clone api-refetch with SSH
[email protected]:aymericzip/api-refetch.git

If you have some problems with api-refetch

You may open issue on api-refetch support forum (system) here: https://github.com/aymericzip/api-refetch/issues