attach method overload accepting ComponentFactoryResolver (trough NgModuleRef-like object) is now deprecated in line with API deprecated in Angular 13. New overload is added accepting ViewComponentRef that should be used instead.
Currently, all samples use the deprecated attach method when passing an Angular component as a first argument.
Steps to reproduce
Open, for example, this demo in StackBlitz and observe the ts file.
Expected result
The samples should use the attach(component, viewContainerRef, settings?) method.
Description
According to the CHANGELOG here:
Currently, all samples use the deprecated
attach
method when passing an Angular component as a first argument.Steps to reproduce
Expected result
The samples should use the
attach(component, viewContainerRef, settings?)
method.