We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
[react] 说说你对windowing的了解
The text was updated successfully, but these errors were encountered:
展示长列表 如果你的应用会渲染大量的列表数据,我们建议使用一种称为‘windowing’的技术,这种技术下在任何给定的时间内只会渲染一小部分数据列表,并可以减少列表项的重复渲染(即再次渲染已经渲染过的数据)。
react-window和react-virtualized都是流行的使用windowing技术的库,他们都提供了一系列可重用的组件,这些组件能够帮助你以最好的性能展示列表以及表格数据
Sorry, something went wrong.
这个实现也不错:https://github.com/dwqs/blog/issues/70 对大概的实现有不错的表述
‘windowing’的技术把大数据集分解为多个块,当它们滚动到视图中时可以即时加载。它也可以用于创建无限加载列表 例如:react-virtualized,react-window等都使用了“windowing”的技术 https://react-window.now.sh/#/examples/list/fixed-size https://bvaughn.github.io/react-virtualized/#/components/List
No branches or pull requests
[react] 说说你对windowing的了解
The text was updated successfully, but these errors were encountered: