Ember.js渲染大列表而不锁定浏览器 [英] Ember.js rendering large lists without locking up the browser
本文介绍了Ember.js渲染大列表而不锁定浏览器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在客户端提供大量项目时,Ember.js有什么选择?分页是一个明显的减少渲染时间的方法,但是有什么其他的技巧可以让您渲染一大堆项目,而不会像javascript执行那样明显的浏览器冻结?
When it comes to rendering a large list of items on the client-side, what are my options with Ember.js? Pagination comes to mind as an obvious way to decrease the rendering time, but are there any other tricks that allow you to render a big list of items without that noticeable browser freeze as the javascript executes?
推荐答案
我尝试了一百万种不同的渲染列表和模板的方式,没有这些无效,所以希望这可以帮助某人。
I tried a million different ways of rendering lists and templates without these to no avail, so hopefully this helps someone.
这篇关于Ember.js渲染大列表而不锁定浏览器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文