react-cancelable
Advanced tools
Comparing version 1.0.3 to 1.0.4
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "react-cancelable", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"main": "./lib/cjs/index.js", | ||
@@ -40,7 +40,7 @@ "module": "./lib/esm/index.js", | ||
"devDependencies": { | ||
"@types/react": "^17.0.39", | ||
"@types/react-dom": "^17.0.11", | ||
"typescript": "^4.5.5", | ||
"react": "17", | ||
"react-dom": "17" | ||
"@types/react": "^18.0.21", | ||
"@types/react-dom": "^18.0.6", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0", | ||
"typescript": "^4.8.4" | ||
}, | ||
@@ -47,0 +47,0 @@ "files": [ |
@@ -0,1 +1,3 @@ | ||
[![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://www.supportukraine.co/) | ||
<h1 align="center">react-cancelable</h1> | ||
@@ -33,6 +35,8 @@ <p align="center"><i>Internet traffic economizer</i></span> | ||
In most of cases client consumes a lot of excess internet traffic. Modern web applications make a huge bunch of requests per conventional time unit then a lot of clients don't wait until all requests made by web app are finished. As a result, the browser expects data that will no longer be used | ||
In most of cases client consumes a lot of excess internet traffic. Modern web applications make a huge bunch of requests per conventional time unit then a lot of clients don't wait until all requests made by web app are finished. As a result, the browser expects data that will no longer be used. | ||
But don't worry you can easily deal with it with the latest AbortController API and react-cancelable | ||
<!-- But don't worry you can easily deal with it with the latest AbortController API and react-cancelable --> | ||
With react-cancelable you can easily cancel requests at any step of the [request's lifecycle](https://dev.to/dangolant/things-i-brushed-up-on-this-week-the-http-request-lifecycle-) and consume fewer traffic bytes. | ||
<br /> | ||
@@ -39,0 +43,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
31430
464
467