Jul 21, 2017 · 1 min read
Sorry, I’m not exactly sure what you’re asking. If you have some problem you’re working on, please create a stackoverflow question and post a link here.
I’m not sure why you are recommending against it?
I’m not recommending against it. I’m just saying most often the app can be re-designed. For example, instead of triggered digest for the entire app, you can trigger change detection only for the child component being added if it’s added dynamically:
compRef = this.vc.createComponent(SomeComponent);
compRef.changeDetectorRef.detectChanges();But certainly that’s not always possible.
