// initialize http client with 200ms delay on loading state change if progress is not supported (defaults 100ms)const{fetch, onLoading}=HttpClient.getInstance({delay: 200});onLoading((state)=>{// do something for state boolean i.e. update redux state});onProgress((progress)=>{// do something with download progress data {start: Date, received: number, size: number}});exportdefaultfetch;
The Tidelift Subscription provides access to a continuously curated stream of human-researched and maintainer-verified data on open source packages and their licenses, releases, vulnerabilities, and development practices.