fix: #145
This commit is contained in:
parent
55c14576be
commit
2b5da24d94
|
@ -2180,7 +2180,7 @@ block dart-no-truthy-falsey
|
|||
But if the properties haven't changed — and most of the time they will not have changed —
|
||||
Angular can leave those DOM elements alone. The list UI will be smoother and more responsive.
|
||||
|
||||
*追踪*函数不会乐队所有 DOM 更改。
|
||||
*追踪*函数不会阻止所有 DOM 更改。
|
||||
如果同一个英雄的*属性*变化了,Angular 就可能不得不更新DOM元素。
|
||||
但是如果这个属性没有变化 —— 而且大多数时候它们不会变化 ——
|
||||
Angular 就能留下这些 DOM 元素。列表界面就会更加平滑,提供更好的响应。
|
||||
|
|
Loading…
Reference in New Issue