30-seconds-of-angular
30-seconds-of-angular copied to clipboard
Add - new snippet: Dynamic Components
Here is a new snippet. Hope you like it :)
But I think using ComponentFactoryResolver — is not a good practice. Because we already have ngComponentOutlet from @angular/common and ngxComponentOutlet from @ngxd/core with auto-bindings.
So ComponentFactoryResolver interesting only if we want to create modal windows. But we have dialogs from @angular/cdk 🙀
So idk
@thekiba Can we have a snippet for each of the other methods and crosslink them?
cc @thekiba