use-debouncy
Advanced tools
Comparing version 2.0.0 to 2.0.1
@@ -0,1 +1,8 @@ | ||
## [2.0.1](https://github.com/eavam/use-debouncy/compare/v2.0.0...v2.0.1) (2020-07-02) | ||
### Bug Fixes | ||
* update information about bundle size ([38017d2](https://github.com/eavam/use-debouncy/commit/38017d21d0b11fcf3245e5e4e3d4afc451d991c9)) | ||
# [2.0.0](https://github.com/eavam/use-debouncy/compare/v1.9.3...v2.0.0) (2020-07-02) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "use-debouncy", | ||
"version": "2.0.0", | ||
"version": "2.0.1", | ||
"author": "Egor Avakumov", | ||
"description": "🌀Tiny (<150 bytes) debounce react effect hook with typescript support", | ||
"description": "🌀Small (120 bytes) debounce effect hook for React with TypeScript support", | ||
"license": "MIT", | ||
@@ -53,3 +53,3 @@ "keywords": [ | ||
"@types/jest": "26.0.3", | ||
"@types/jest-in-case": "^1.0.2", | ||
"@types/jest-in-case": "1.0.2", | ||
"@types/react": "16.9.38", | ||
@@ -69,3 +69,3 @@ "@types/react-dom": "16.9.8", | ||
"jest-in-case": "1.0.2", | ||
"jest-playwright-preset": "1.2.0", | ||
"jest-playwright-preset": "1.2.1", | ||
"parcel": "1.12.4", | ||
@@ -72,0 +72,0 @@ "playwright": "1.1.1", |
# useDebouncy | ||
🌀Tiny (<150 bytes) debounce react effect hook with typescript support | ||
🌀Small (120 bytes) debounce effect hook for React with TypeScript support | ||
@@ -15,4 +15,4 @@  | ||
- 👌 **No dependencies.** | ||
- 🏋️♀️ **Tiny.** <150 bytes. [Size Limit](https://github.com/ai/size-limit) controls the size. | ||
- 📖 **Types.** Support typescript. | ||
- 🏋️ **Tiny.** 120 bytes. [Size Limit](https://github.com/ai/size-limit) controls the size. | ||
- 📖 **Types.** Support TypeScript. | ||
- 🎣 **Easy.** Like useEffect hook. | ||
@@ -58,7 +58,7 @@ | ||
```typescript | ||
useDebouncy( | ||
fn: () => (void | (() => void | undefined)), | ||
function useDebouncy( | ||
fn: () => void | (() => void | undefined), | ||
wait?: number, | ||
deps?: any[], | ||
): void | ||
): void; | ||
``` | ||
@@ -65,0 +65,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
22217