Max Koretskyi
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.

)
    Max Koretskyi

    Written by

    I find patterns in frameworks and explain them. Angular & React contributor. Dev Evangelist at @ag_grid. Chief Inspiration Officer at @AngularInDepth. GDE, MVP.

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade