Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> <ng-content> didn't work if the elements were dynamic

Usually if you run into problems like that, you should use templates.

Honestly, I'm not sure why `<ng-content>` exists vs templates. I'm sure there's a reason (verbosity?), but templates have way fewer caveats.

> Would have been so much easier with a webpack configuration

I agree. It's not hard at all to do a Webpack configuration of Angular. Just add the Angular plugin. (That's what the CLI does under the hood.) I wish they document it though.



The angular plugin for webpack is still an opaque black box.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: