Angular 9 isssue with dynamic component load
问题 Dynamic components were loading absolutely fine in Angular 8. Once a component is loaded, Detach and Interest of components was also working fine. I am using ng-three-template. loadComponent(componentID: number, component: any) { this.viewContainerRef.detach(); if( this.componentFactory[componentID] == undefined ) { this.componentFactory[componentID] = this.componentFactoryResolver.resolveComponentFactory( component ); this.componentRef[componentID] = this.viewContainerRef.createComponent(