Top 0.4% downloads on npmjs.org
Top 0.4% dependent packages on npmjs.org
Top 0.6% dependent repos on npmjs.org
Top 3.2% forks on npmjs.org
Top 1.3% docker downloads on npmjs.org
npmjs.org : @react-hook/window-size
React hooks for updating components when the size of the `window` changes.
Registry
-
Source
- Homepage
- JSON
purl: pkg:npm/%40react-hook/window-size
Keywords:
react
, react hook
, hook
, react hooks
, hooks
, window size
, window size hook
, window width
, window width hook
, window height
, window height hook
, window
, viewport size
, viewport width
, viewport height
, viewport
, viewport hook
, react window size hook
, use window size
, use window width
, use window height
, usewindowsize
, usewindowwidth
, usewindowheight
, debounce
, hooks-api
, hooks-library
, react-hook
, react-hooks
, react-hooks-typescript
, throttle
, typescript
, typescript-hooks
, window-scroll
, window-size
License: MIT
Latest release: over 2 years ago
First release: about 6 years ago
Namespace: react-hook
Dependent packages: 109
Dependent repositories: 1,059
Downloads: 703,421 last month
Stars: 1,489 on GitHub
Forks: 97 on GitHub
Docker dependents: 16
Docker downloads: 1,176
Total Commits: 405
Committers: 29
Average commits per author: 13.966
Development Distribution Score (DDS): 0.311
More commit stats: commits.ecosyste.ms
See more repository details: repos.ecosyste.ms
Funding links: https://github.com/sponsors/jaredLunde
Last synced: about 3 hours ago
@react-hook/intersection-observer 3.1.2 💰
A React hook for the IntersectionObserver API that uses a polyfill when the native API is not ava...18 versions - Latest release: 9 months ago - 6 dependent packages - 392 dependent repositories - 808 thousand downloads last month - 1,434 stars on GitHub - 1 maintainer
@react-hook/resize-observer 2.0.2 💰
A React hook that fires a callback whenever ResizeObserver detects a change to its size20 versions - Latest release: 9 months ago - 113 dependent packages - 644 dependent repositories - 1.8 million downloads last month - 1,488 stars on GitHub - 1 maintainer
@mindblowing/resize-observer 1.2.8 💰
A React hook that fires a callback whenever ResizeObserver detects a change to its size2 versions - Latest release: about 2 years ago - 417 downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/cache 1.1.1 💰
A React hook for accessing an async cache that persists data between renders and components. This...12 versions - Latest release: about 3 years ago - 4 dependent packages - 5 dependent repositories - 1.42 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/mouse-position 4.1.3 💰
A React hook for tracking the position, hover, and down state of the mouse as it interacts with a...24 versions - Latest release: over 3 years ago - 21 dependent packages - 136 dependent repositories - 94.9 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/event 1.2.6 💰
A React hook for managing event listeners, e.g. removing events when a component unmounts.14 versions - Latest release: over 3 years ago - 31 dependent packages - 1,415 dependent repositories - 919 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/merged-ref 1.3.2 💰
A React hook for merging multiple refs into one ref16 versions - Latest release: over 3 years ago - 49 dependent packages - 310 dependent repositories - 175 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/size 2.1.2 💰
A React hook for measuring the size of HTML elements including when they change7 versions - Latest release: almost 4 years ago - 41 dependent packages - 250 dependent repositories - 429 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/debounce 4.0.0 💰
A React hook for debouncing setState and other callbacks26 versions - Latest release: almost 4 years ago - 22 dependent packages - 1,307 dependent repositories - 887 thousand downloads last month - 1,372 stars on GitHub - 1 maintainer
@react-hook/switch 1.3.3 💰
A React hook for controlling a boolean value with toggle, on, and off callbacks12 versions - Latest release: over 4 years ago - 9 dependent packages - 59 dependent repositories - 11.3 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/async 3.1.1 💰
A React hook for gracefully resolving async functions and promises13 versions - Latest release: over 4 years ago - 9 dependent packages - 45 dependent repositories - 2.95 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/google-optimize 1.2.1 💰
A React hook for using Google Optimize variants in components14 versions - Latest release: over 4 years ago - 3 dependent packages - 8 dependent repositories - 6.75 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/latest 1.0.3 💰
A React hook that updates useRef().current with the most recent value each invocation4 versions - Latest release: over 4 years ago - 32 dependent packages - 2,748 dependent repositories - 2.65 million downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/passive-layout-effect 1.2.1 💰
A React hook that uses useEffect() on the server and useLayoutEffect() in the browser7 versions - Latest release: over 4 years ago - 33 dependent packages - 1,818 dependent repositories - 2.7 million downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/media-query 1.1.1 💰
React hooks that update when media queries change between matched and unmatched states.4 versions - Latest release: almost 5 years ago - 22 dependent packages - 152 dependent repositories - 121 thousand downloads last month - 1,372 stars on GitHub - 1 maintainer
@react-hook/hover 4.0.0 💰
A React hook for tracking the hover state of DOM elements in browsers where hovering is possible12 versions - Latest release: almost 5 years ago - 8 dependent packages - 44 dependent repositories - 12.4 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/server-promises 2.0.0 💰
A React hook for continuously rendering a React tree until no promises are pushed to server-promi...5 versions - Latest release: almost 5 years ago - 4 dependent packages - 6 dependent repositories - 27 downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/timeout 2.1.1 💰
A React hook that executes a callback after a timeout ms have been exceeded and the timeout has b...5 versions - Latest release: almost 5 years ago - 2 dependent packages - 2 dependent repositories - 998 downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/toggle 2.0.1 💰
A React hook for toggling between two values5 versions - Latest release: almost 5 years ago - 4 dependent packages - 4 dependent repositories - 811 downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/hotkey 3.1.0 💰
A React hook for invoking a callback when hotkeys are pressed5 versions - Latest release: almost 5 years ago - 3 dependent packages - 10 dependent repositories - 5.85 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/counter 2.0.0 💰
A React hook counter with min/max/step/cast options3 versions - Latest release: almost 5 years ago - 2 dependent packages - 1 dependent repositories - 21 downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/copy 2.0.1 💰
A React hook for copying text to the clipboard4 versions - Latest release: almost 5 years ago - 4 dependent packages - 17 dependent repositories - 15.2 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/click 2.0.0 💰
```jsx harmony import useClick from '@react-hook/click'3 versions - Latest release: almost 5 years ago - 2 dependent packages - 2 dependent repositories - 132 downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/window-scroll 1.3.0 💰
A React hook for updating components when the scroll position of the window on the y-axis changes24 versions - Latest release: almost 5 years ago - 31 dependent packages - 453 dependent repositories - 179 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/throttle 2.2.0 💰
A React hook for throttling setState and other callbacks28 versions - Latest release: almost 5 years ago - 22 dependent packages - 1,527 dependent repositories - 949 thousand downloads last month - 1,420 stars on GitHub - 1 maintainer
@react-hook/change 1.0.0 💰
A React hook that invokes a callback anytime a value changes1 version - Latest release: almost 5 years ago - 8 dependent packages - 13 dependent repositories - 26.9 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer
@react-hook/previous 1.0.1 💰
A React hook that stores a value from the previous render2 versions - Latest release: almost 5 years ago - 6 dependent packages - 68 dependent repositories - 52.7 thousand downloads last month - 1,488 stars on GitHub - 1 maintainer