What is the difference between ChangeDetectorRef.markForCheck()
and ChangeDetectorRef.detectChanges()
?
I only found information on SO as to the difference between NgZone.run()
, but not between these two functions.
For answers with only a reference to the doc, please illustrate some practical scenarios to choose one over the other.