Re:Angular 2 Final Released
by buchanaf on Thursday September 15, 2016 @08:30AM
(#12505504)
Solid list. Having just used Angular 2 on a side project, I'd also add that I'm not the biggest fan of passing properties between components. @Input and @Output don't seem particular intuitive nor necessary, but maybe I'm just used to React.
[ Parent
| on HN ]
Re:Angular 2 Final Released
by emodendroket on Thursday September 15, 2016 @12:51PM
(#12507706)
I haven't tried ng-2 yet but that does seem like an improvement over ng-1 where AFAIK the best way to do this was to declare some service that directives could depend on.
I felt like I was writing really bad code passing stuff around like this. My project became ugly to look at, even though it worked. This was in February and I'm hoping that either better docs will prevent this from happening to me again or maybe that some changes they made in the 7 months since fixed all that.
I dread to go look at that code...