官术网_书友最值得收藏!

Simplified data flow

The cross-watcher dependencies may create a tangled data flow in our application, which is hard to follow. This may lead to unpredictable behavior and bugs, which are hard to find. Although Angular kept the dirty checking as a way to achieve change detection, the framework enforced unidirectional data flow. This happened by disallowing dependencies between the different watchers, which allows the digest loop to be run only once. This strategy increases the performance of our applications dramatically and reduces the complexity of the data flow. Angular also made improvements to memory efficiency and the performance of the digest loop. Further details on Angular's change detection and the different strategies used for its implementation can be found in Chapter 5, Getting Started with Angular Components and Directives.

主站蜘蛛池模板: 长寿区| 珠海市| 普安县| 翁源县| 安新县| 榆中县| 封开县| 武鸣县| 锡林郭勒盟| 建宁县| 长岭县| 兴文县| 门源| 芜湖市| 韶山市| 雅安市| 改则县| 敦煌市| 麻阳| 虹口区| 吉安县| 宁阳县| 土默特右旗| 梅州市| 商丘市| 拜泉县| 宜兴市| 中超| 类乌齐县| 恩施市| 康平县| 页游| 武胜县| 抚顺市| 隆子县| 丰顺县| 翼城县| 黄梅县| 扎赉特旗| 航空| 铜鼓县|