Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

大数据量该如何做虚拟化列表处理 #286

Open
chenchunyang123 opened this issue Apr 13, 2021 · 3 comments
Open

大数据量该如何做虚拟化列表处理 #286

chenchunyang123 opened this issue Apr 13, 2021 · 3 comments

Comments

@chenchunyang123
Copy link

No description provided.

@jaywcjlove
Copy link
Member

@chenchunyang123 使用虚拟滚动方案,来实现,你是要用 uiw 的 table 组件?

https://github.com/bvaughn/react-window

Related libraries

  • react-virtualized-auto-sizer: HOC that grows to fit all of the available space and passes the width and height values to its child.
  • react-window-infinite-loader: Helps break large data sets down into chunks that can be just-in-time loaded as they are scrolled into view. It can also be used to create infinite loading lists (e.g. Facebook or Twitter).
  • react-vtree: Lightweight and flexible solution to render large tree structures (e.g., file system).

@chenchunyang123
Copy link
Author

使用的是tree组件,但现在数据在有几千条的时候会卡顿,想看看有没有什么解决方案

@jaywcjlove
Copy link
Member

@chenchunyang123 有空我做一次 tree 组件优化。

jaywcjlove added a commit that referenced this issue Jun 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants