I recently reviewed some code where detectChanges() is called from ngAfterViewChecked. How does that not cause an infinite loop? Shouldn't it trigger another change detection cycle, which will call ngAfterViewChecked again? Or does the change detection only apply to the view, and therefore ngAfterViewChecked will only be called on the child components, not the host component?
