30-seconds-of-angular icon indicating copy to clipboard operation
30-seconds-of-angular copied to clipboard

Add - new snippet: Dynamic Components

Open NothingEverHappens opened this issue 6 years ago • 3 comments

Here is a new snippet. Hope you like it :)

NothingEverHappens avatar May 21 '19 22:05 NothingEverHappens

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 avatar May 21 '19 22:05 thekiba

@thekiba Can we have a snippet for each of the other methods and crosslink them?

NothingEverHappens avatar May 30 '19 23:05 NothingEverHappens

cc @thekiba

kirjs avatar Jul 15 '19 19:07 kirjs