npm · npm:@react-hook/resize-observer
@react-hook/resize-observer 活跃
A React hook that fires a callback whenever ResizeObserver detects a change to its size
@react-hook/resize-observer 的最新稳定版本是 2.0.2,发布于 2024-07-30。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 2.0.2 |
|---|---|
| 发布时间 | 2024-07-30 19:12:08 UTC |
| 安装 | npm install @react-hook/resize-observer@latest |
| 运行要求(engines) | 未声明 |
| Peer 依赖 | react >=18 |
| Dist 标签 | latest: 2.0.2 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 12:41:32 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 停滞 |
|---|---|
| 最近的稳定版本 | 2024-07-30 19:12:08 UTC · 835 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 20 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
2.0.2 | 2024-07-30 19:12:08 UTC |
2.0.1 | 2024-05-16 15:06:35 UTC |
2.0.0 | 2024-05-16 14:58:40 UTC |
1.2.6 | 2022-07-27 13:01:39 UTC |
1.2.5 | 2021-12-01 16:44:13 UTC |
1.2.4 | 2021-09-01 14:35:38 UTC |
1.2.3 | 2021-09-01 14:25:46 UTC |
1.2.2 | 2021-06-21 23:02:08 UTC |
1.2.1 | 2021-06-21 15:55:32 UTC |
1.2.0 | 2021-02-20 06:40:05 UTC |
1.1.2 | 2021-01-31 16:22:09 UTC |
1.1.1 | 2021-01-31 05:04:47 UTC |
1.1.0 | 2020-06-07 17:20:46 UTC |
1.0.4 | 2020-06-04 01:31:26 UTC |
1.0.3 | 2020-05-27 14:52:36 UTC |
1.0.2 | 2020-05-27 14:49:05 UTC |
1.0.1 | 2020-05-27 04:01:11 UTC |
1.0.0 | 2020-05-27 03:57:46 UTC |
0.0.2 | 2020-05-27 03:48:27 UTC |
0.0.1 | 2020-05-27 03:13:23 UTC |
显示 20 个版本中最新的 20 个。 JSON
把这些数据交给你的 AI 智能体
Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
添加到 Cursor添加到 VS Code★ 在 GitHub 上加星
任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }常见问题
@react-hook/resize-observer 的最新版本是什么?
@react-hook/resize-observer 的最新稳定版本是 2.0.2,发布于 2024-07-30。Vigia 于 2026-11-12 核实。
如何安装 @react-hook/resize-observer 的最新版本?
运行 npm install @react-hook/resize-observer@latest。最新稳定版本是 2.0.2(2026-11-12 核实)。
@react-hook/resize-observer 是否已弃用?
否。注册表中 @react-hook/resize-observer 未被标记为已弃用。
@react-hook/resize-observer 需要哪个版本的 Node.js?
@react-hook/resize-observer 2.0.2 未声明对 Node.js 版本的要求。
@react-hook/resize-observer 2.0.2 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 @react-hook/resize-observer 2.0.2。
@react-hook/resize-observer 是否仍在维护?
@react-hook/resize-observer 在过去 12 个月内发布了 0 个稳定版本,最近一次在 835 天前。活跃度:停滞。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- react
- @math.gl/web-mercator
- revalidator
- @jpwilliams/waitgroup
- webpack-assets-manifest
- blamer
- babel-plugin-apply-mdx-type-prop
- ohm-js
- @swagger-api/apidom-parser-adapter-json
- streamdown
- mock-socket
- xorshift
- @types/jszip
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/@react-hook/resize-observer) [](https://vigia.coredls.cloud/npm/@react-hook/resize-observer) [](https://vigia.coredls.cloud/npm/@react-hook/resize-observer)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/@react-hook/resize-observer
GET https://vigia.coredls.cloud/v1/packages/npm/@react-hook/resize-observer/versions/{version}