angular - angular2 change detection with CD class -


how angular2 perform change detection default strategy ? have gone through post related change detection , got details 'angular2 creates change detector every component'.

now instance if i've 4 components (comp1, comp2 comp3 & comp4) , change comp4 property change detection perform through components or single component ?

can please provide code tutorial link related above info ?

here detailed article understand change detection:

also see this answer.

now instance if i've 4 components (comp1, comp2 comp3 & comp4) , change comp4 property change detection perform through components or single component ?

if change comp4 property result of async opertation settimeout, change detection run root level component , down children. have change detection components.

if of components set changedetectionstrategy.onpush, skipped if input bindings haven't changed.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -