@react-hook/window-size
Version:
React hooks for updating components when the size of the `window` changes.
25 lines (24 loc) • 685 B
JSON
{
"name": "@react-hook/window-size-throttled",
"version": "2.2.0",
"homepage": "https://github.com/jaredLunde/react-hook/tree/master/window-size/throttled#readme",
"repository": "github:jaredLunde/react-hook",
"bugs": "https://github.com/jaredLunde/react-hook/issues",
"license": "MIT",
"main": "dist/main/index.js",
"module": "dist/module/index.js",
"unpkg": "dist/umd/use-window-size.js",
"source": "src/index.tsx",
"types": "types/index.d.ts",
"files": [
"/dist",
"/src",
"/types"
],
"sideEffects": false,
"dependencies": {
"@react-hook/debounce": "^3.0.0",
"@react-hook/event": "^1.2.1",
"@react-hook/throttle": "^2.2.0"
}
}