47

面试:页面加载海量数据

 6 years ago
source link: https://juejin.im/post/5ae17a386fb9a07abc299cdd
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
题目 10w 条记录的数组,一次性渲染到页面上,如何处理可以不冻结UI? 具体化 页面上有个空的无序列表节点 ul ,其 id 为 list-with-big-data ,现需要往列表插入 10w 个 li ,每个列表项的文本内容可自行定义,且要求当每个

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK