From IT Skills
Jump to: navigation, search
 
Line 1: Line 1:
 
[[Category:Design patterns]]
 
[[Category:Design patterns]]
 
[[Category:JS]]
 
[[Category:JS]]
[https://blog.thoughtram.io/angular/2016/02/22/angular-2-change-detection-explained.html#smarter-change-detection objects are mutable by default in [[:Category:JS|JavaScript]] (except for primitives)... [[Immutability|Immutable objects]] give us the guarantee that objects can’t change... We can tell [[:Category:Angular#Property binding|Angular]] to skip change detection ... use Observables and we want to use OnPush... access a component’s ChangeDetectorRef]
+
[https://blog.thoughtram.io/angular/2016/02/22/angular-2-change-detection-explained.html#smarter-change-detection objects are mutable by default in [[:Category:JS|JavaScript]] (except for primitives)... [[Immutability|Immutable objects]] give us the guarantee that objects can’t change... We can tell [[:Category:Angular#Property binding|Angular]] to skip change detection ... use [[Observables]] and we want to use OnPush... access a component’s ChangeDetectorRef]

Latest revision as of 14:14, 10 August 2019

objects are mutable by default in JavaScript (except for primitives)... Immutable objects give us the guarantee that objects can’t change... We can tell Angular to skip change detection ... use Observables and we want to use OnPush... access a component’s ChangeDetectorRef