- Learning Ionic(Second Edition)
- Arvind Ravulavaru
- 142字
- 2021-07-02 23:24:25
Zones
Zones are one of the new concepts that have been introduced in Angular. The concept of Zones was migrated from Dart to JavaScript.
The main reason why a lot of developers were attracted towards Angular initially was by its Auto-magic Data Binding among other things. This was achieved using scopes in Angular 1.x. In Angular 2, we are using Zone.js (https://github.com/angular/zone.js) to achieve the same.
Whenever there is a change in the data, Angular updates the appropriate stakeholders (variables, interfaces, providers, and so on) with new data. Angular can track all synchronous activities quite easily. But for change detection in asynchronous code, such as event handling, AJAX calls, or Timers, Angular 2 uses Zone.js.
To know more about zones, how they work, and change detection in Angular, check out Zones in Angular: http://blog.thoughtram.io/angular/2016/02/01/zones-in-angular-2.html and Angular change detection explained: http://blog.thoughtram.io/angular/2016/02/22/angular-2-change-detection-explained.html.
- 零基礎學Visual C++第3版
- Expert C++
- Python從小白到大牛
- Android開發精要
- .NET 4.0面向對象編程漫談:基礎篇
- Securing WebLogic Server 12c
- 精通Python設計模式(第2版)
- Android底層接口與驅動開發技術詳解
- Python Web數據分析可視化:基于Django框架的開發實戰
- iOS開發實戰:從入門到上架App Store(第2版) (移動開發叢書)
- Mastering Web Application Development with AngularJS
- Django 3.0應用開發詳解
- Kotlin Programming By Example
- Python青少年趣味編程
- 從Power BI到Analysis Services:企業級數據分析實戰