Sharing Top Content from the Angular-sphere.

Fine grained change detection with Angular 2

  • Note that, in our changePerson() function, we now directly mutate the property of our person object which we pass on to our child component.
  • log ( ‘Change detected:’ , changes [ person ].
  • What we can do is to implement the DoCheck lifecycle hook on our child component.

Read the full article, click here.


@aaronksaunders: “Fine grained change detection with  #angular2   #angularjs”


Ever heard about DoCheck or OnChanges in Angular 2 components? Then read along..


Fine grained change detection with Angular 2

Comments are closed, but trackbacks and pingbacks are open.