mharj-http-client

http client with loading state change callback


Keywords
http, client
License
SSPL-1.0
Install
npm install mharj-http-client@0.0.8

Documentation

mharj-http-client

// initialize http client
const {fetch, onLoading} = HttpClient.getInstance();
onLoading( (state) => {
    // do something for state boolean i.e. update redux state
});
export default fetch;