- 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.
- UI設計基礎培訓教程
- C#完全自學教程
- 零基礎玩轉區塊鏈
- Learn React with TypeScript 3
- App Inventor創意趣味編程進階
- Extreme C
- Distributed Computing in Java 9
- Building Slack Bots
- After Effects CC案例設計與經典插件(視頻教學版)
- Microsoft Dynamics GP 2013 Cookbook
- 讓Python遇上Office:從編程入門到自動化辦公實踐
- Hands-On ROS for Robotics Programming
- HTML5程序設計基礎教程
- 程序員面試金典(第6版)
- 高性能MVVM框架的設計與實現:San