Explain Zone in Angular?

devquora
devquora

Posted On: Feb 22, 2018

 

    1 Answer Written

  •  devquora
    Answered by Prachi

    In Angular 6, Zone is used to detect when certain async operations occur to trigger a change detection cycle. Zone.js is an execution context that helps developers intercept and keep track of async operations. Zone works on the concept of associating each operation with a zone. Each zone can fork and create a child zone with a different context, no limits. Inside a zone, async operations are captured using different APIs, so that the developer can decide what to do with the interceptions.

Related Questions

Please Login or Register to leave a response.

Related Questions

Angular 6 Interview Questions

List some new features comes with Angular6

Latest Key features of Angular 6Added support for creating Custom Elements based on Angular Components. Animations: ex..

Angular 6 Interview Questions

Explain Ivy Renderer in Angular?

Ivy Renderer is the next generation renderer to serve the purpose of enhanced performance. The Ivy renderer decreases the bundle size and the loading time which improves the performance and moreover, ...

Angular 6 Interview Questions

What is Bazel and Closure Compiler in Angular6?

Bazel is a built tool introduced with the Angular 6 that is used extensively by Google. It is mainly used to optimize the angular compilation and improves the building and test on Angular apps. The C...