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

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.

主站蜘蛛池模板: 信宜市| 安溪县| 武乡县| 龙海市| 揭西县| 桓仁| 芦溪县| 平陆县| 鄄城县| 汕头市| 苗栗县| 唐山市| 岱山县| 铜鼓县| 洛宁县| 深圳市| 莆田市| 射阳县| 射阳县| 宜兰市| 丹巴县| 喜德县| 凤山县| 余江县| 博客| 正宁县| 定安县| 韶关市| 历史| 陈巴尔虎旗| 乐陵市| 博乐市| 蒙城县| 三都| 治县。| 阜平县| 镇康县| 二连浩特市| 永丰县| 苗栗市| 若尔盖县|