react-cancelable
Advanced tools
Comparing version 0.0.1-alpha.1 to 0.0.1-alpha.2
{ | ||
"name": "react-cancelable", | ||
"version": "0.0.1-alpha.1", | ||
"version": "0.0.1-alpha.2", | ||
"main": "./lib/cjs/index.js", | ||
@@ -5,0 +5,0 @@ "module": "./lib/esm/index.js", |
<h1 align="center">react-cancelable<i>(alpha)</i></h1> | ||
<p align="center"><i>Library that improve client's traffic experiense</i></span> | ||
<p align="center"><i>Improve client's traffic experiense</i></span> | ||
<br></br> | ||
@@ -19,8 +19,9 @@ | ||
1. [Motivation](#motivation) | ||
2. [Tools](#tools) | ||
2. [Instalation](#instalation) | ||
3. [Tools](#tools) | ||
1. [useCancelableReq](#usecancelablereq) | ||
2. [useCancelableImg](#usecancelableimg) | ||
3. [cancelable HOF](#cancelable-hof) | ||
3. [Fetch vs Axios](#fetch-vs-axios) | ||
4. [Best practices (WIP)](#best-practices) | ||
4. [Fetch vs Axios](#fetch-vs-axios) | ||
5. [Best practices (WIP)](#best-practices) | ||
@@ -37,4 +38,30 @@ <br /> | ||
# Instalation | ||
``` | ||
npm install react-cancelable | ||
``` | ||
``` | ||
yarn add react-cancelable | ||
``` | ||
<br /> | ||
Before installation be sure you have installed the required peer dependencies to your project | ||
<br /> | ||
```json | ||
{ | ||
"react": "^17.0.0", | ||
"react-dom": "^17.0.0" | ||
} | ||
``` | ||
<br /> | ||
# Tools | ||
<br /> | ||
## useCancelableReq | ||
@@ -41,0 +68,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
33701
450