没有合适的资源?快使用搜索试试~ 我知道了~
react-smart-scroll:在React中高效渲染长列表
共25个文件
js:12个
json:3个
eslintrc:2个
需积分: 11 0 下载量 28 浏览量
2021-05-14
13:18:52
上传
评论 1
收藏 173KB ZIP 举报
温馨提示
React智能滚动 ReactSmartScroll是一种轻巧,高性能,易于使用的方法,可在React中高效地呈现长列表。 它仅呈现可见的行,上方和下方有一些缓冲区行。 (最少)ReactSmartScroll是非操作的,且配置最少。 它自动支持可变高度的行,即使它们在运行时由于调整大小,扩展等而改变高度时也是如此。 安装 // npm npm i -S react-smart-scroll // yarn yarn add react-smart-scroll 超级简单的样本: import ReactSmartScroll from 'react-smart-scroll' ; const data = [ { id : 1 , text : 'Hello' } , { id : 2 , text : 'World' } , ] ; const TestRow =
资源推荐
资源详情
资源评论
收起资源包目录
react-smart-scroll-master.zip (25个子文件)
react-smart-scroll-master
.prettierignore 134B
.gitignore 88B
README.md 6KB
.prettierrc 104B
tests
index-test.js 478B
.eslintrc 37B
.eslintrc 4KB
package.json 2KB
nwb.config.js 98B
CONTRIBUTING.md 744B
src
ReactSmartScroll
ReactSmartScrollRow
index.js 1KB
index.js 4KB
utils.js 1KB
index.js 85B
hooks
useScroll.js 530B
useComponentRect.js 574B
useScrollToTop.js 177B
jsconfig.json 84B
.travis.yml 296B
.editorconfig 400B
package-lock.json 634KB
demo
src
index.css 522B
data.js 40KB
index.js 768B
TestRow
index.js 297B
共 25 条
- 1
资源评论
陶涵煦
- 粉丝: 27
- 资源: 4654
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功