React API Fetcher
Simple react api fetcher written in Typescript
Install
npm i react-api-fetcher
Features
- Support hook
- React JS/Native support
- Trigger update by dependencies
- Support connection timeout
- Support retry
- isLoading flag
Getting started
unmanaged state
;;
managed state
;const data isLoading error retry = ;