The code side of life

The code side of life

JavaScript, TypeScript, ES6, Angular, Node, Architecture and more.

TagChange Detection

Angular Angular2 Change Detection Zones Zone.js NgZone

Angular 2 Change Detection, Zones and an example

Posted on .

Handling DOM media query change event in angular 2, A real life scenario where Angular's change detection needs a little help. If you have been playing around with angular you probably noticed that the infamous $digest / $apply is gone, no more loops! In this…