npm · npm:@react-hook/window-size
@react-hook/window-size active
React hooks for updating components when the size of the `window` changes.
The latest stable version of @react-hook/window-size is 3.1.1, published on 2022-09-06. Verified by Vigia on 2026-11-12.
| Latest stable version | 3.1.1 |
|---|---|
| Published | 2022-09-06 00:45:56 UTC |
| Install | npm install @react-hook/window-size@latest |
| Requires (engines) | none declared |
| Peer dependencies | react >=16.8 |
| Dist-tags | latest: 3.1.1 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 13:02:26 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2022-09-06 00:45:56 UTC · 1528 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 40 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
3.1.1 | 2022-09-06 00:45:56 UTC |
3.1.0 | 2022-09-06 00:33:22 UTC |
3.0.7 | 2020-07-22 14:35:04 UTC |
3.0.6 | 2020-06-06 03:41:20 UTC |
2.2.5 | 2020-06-06 03:40:43 UTC |
3.0.5 | 2020-06-06 03:16:18 UTC |
2.2.4 | 2020-06-06 03:15:48 UTC |
3.0.4 | 2020-06-06 03:14:14 UTC |
2.2.3 | 2020-06-06 03:12:14 UTC |
3.0.3 | 2020-06-06 03:11:42 UTC |
3.0.2 | 2020-06-06 03:07:51 UTC |
2.2.2 | 2020-06-06 03:07:23 UTC |
3.0.1 | 2020-06-06 03:03:49 UTC |
2.2.1 | 2020-06-06 03:03:20 UTC |
3.0.0 | 2020-06-06 02:59:37 UTC |
2.2.0 | 2020-06-06 02:54:24 UTC |
2.1.1 | 2020-05-27 14:45:03 UTC |
2.1.0 | 2020-05-26 20:47:58 UTC |
2.0.5 | 2020-05-07 15:51:30 UTC |
2.0.4 | 2020-04-25 18:06:30 UTC |
Showing the 20 most recent of 40 versions. JSON
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of @react-hook/window-size?
The latest stable version of @react-hook/window-size is 3.1.1, published on 2022-09-06. Verified by Vigia on 2026-11-12.
How do I install the latest version of @react-hook/window-size?
Run npm install @react-hook/window-size@latest. The latest stable version is 3.1.1 (verified 2026-11-12).
Is @react-hook/window-size deprecated?
No. @react-hook/window-size is not marked as deprecated in the registry.
Which Node.js version does @react-hook/window-size require?
@react-hook/window-size 3.1.1 does not declare a Node.js version requirement.
Does @react-hook/window-size 3.1.1 have known vulnerabilities?
No known advisories affect @react-hook/window-size 3.1.1 according to the data Vigia checks.
Is @react-hook/window-size still maintained?
@react-hook/window-size published 0 stable releases in the last 12 months; the most recent was 1528 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- react
- super-media-element
- @workflow/core
- @tanstack/react-router-ssr-query
- vite-plugin-solid
- @material/segmented-button
- @lerna/info
- @salesforce/apex-node
- referrer-policy
- yet-another-react-lightbox
- bip66
- @stdlib/number-float64-base-exponent
- @aduh95/viz.js
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/@react-hook/window-size) [](https://vigia.coredls.cloud/npm/@react-hook/window-size) [](https://vigia.coredls.cloud/npm/@react-hook/window-size)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/@react-hook/window-size
GET https://vigia.coredls.cloud/v1/packages/npm/@react-hook/window-size/versions/{version}