淘汰组件需要很长时间才能渲染

时间:2017-10-05 12:10:20

标签: knockout.js

我有很长的LogEntries列表,通过knouckout组件进行渲染。我有这个组件结构。

--<full-logentry> inside I render three other component
<task-logentry> inside three type of component for task log entry</task-logentrty>
<project-logentry>5 components of  project log entry type </project-logentry>
<field-logentry></field-logentry>
</full-logentry>


render list like this 
Adam has added the role "" .. - a month ago
Adam has added the role "" .. - a month ago
Adam assigned the task to Admin. - a month ago
Adam has added the role "" .. - a month ago
Adam assigned the task to david. - a month ago
Adam assigned the task to test.user23. - a month ago
 Adam has approved. - a month ago
Adam assigned the task to him/herself. - a month ago
 Adam has declined. - a month ago
Adam assigned the task to him/herself. - a month ago
Adam has removed "Admin" .. - a month ago
Adam has removed "david" .. - a month ago
Adam assigned the task to him/herself. - a month ago
 Adam has approved. - a month ago
 Adam has reversed his decision. - a month ago
 Adam has approved. - a month ago
 Adam has reversed his decision. - a month ago
Adam assigned the task to him/herself. - a month ago
Adam has removed "test.user23" .. - a month ago

是否还有另一种提高速度,性能的方法,是因为大量的数据,对于很多组件。

0 个答案:

没有答案