JavaScript Edu Resources. Angular Courses. React Tutorials. Join us!

Change detection

Every component gets a change detector responsible for checking the bindings defined in its template.

  • Every component gets a change detector responsible for checking the bindings defined in its template.
  • Therefore, we can skip the component’s subtree in the change detection tree until such an event occurs.
  • Therefore, we can skip the component’s subtree in the change detection tree until such an event occurs.
  • NOTE: If you have a tree of components with immutable bindings, a change has to go through all the components starting from the root.
  • Assuming that changes happen rarely and the components form a balanced tree, using observables changes the complexity of change detection from to , where N is the number of bindings in the system.



awesome-angular/ChangeDetection.md at gh-pages · AngularClass/awesome-angular · GitHub

Comments are closed, but trackbacks and pingbacks are open.