@automattic/react-virtualized

中文文档
9.22.4发布于 2023/06/02MITESM + CJS近 30 天下载 1.2万

React components for efficiently rendering large, scrollable lists and tabular data

原始使用文档

Automattic fork of react-virtualized.

This fork exists as a way of avoiding a dependency on @babel/runtime, which forcibly pulls in polyfills even where they are not required. In order to achieve this, the build is modified to perform minimal transpilation, with JSX preserved. These modified sources can then be transpiled further as needed by the consumer.

Upstream

See the main react-virtualized project for anything unrelated to this fork.

版本与发布记录

@automattic/react-virtualized 共发布 3 个版本,首次发布于 2020/01/20;过去 12 个月发布了 0 个版本。

版本发布日期距今
9.22.4latest2023/06/023 年前
9.22.32021/09/025 年前
9.21.22020/01/206 年前

关于 @automattic/react-virtualized 的常见问题

@automattic/react-virtualized 是什么?

React components for efficiently rendering large, scrollable lists and tabular data

如何安装 @automattic/react-virtualized?

在项目目录运行 npm install @automattic/react-virtualized,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0)、react-dom(^15.3.0 || ^16.0.0-alpha || ^17.0.0 || ^18.0.0)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@automattic/react-virtualized 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/automattic__react-virtualized 是否存在。

@automattic/react-virtualized 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@automattic/react-virtualized 可以商用吗?

@automattic/react-virtualized 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@automattic/react-virtualized 的下载量有多少?

根据 npm 官方下载统计,@automattic/react-virtualized 在 2026/10/07 – 2026/11/05 这 30 天内被下载 11,962 次,日均约 399 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@automattic/react-virtualized 还在维护吗?

最新版本 9.22.4 发布于 2023/06/02(3 年前);至今共发布 3 个版本,其中过去 12 个月发布了 0 个;首次发布于 2020/01/20。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。