Live data from Hacker News

Does Angular 2 live up to the hype?

cycligent.com

1–10 of 44 posts

Re: Does Angular 2 live up to the hype?

#2
We've been using A2 since RC3, and are approaching a GA of the product. Everyone on the dev team has had a positive impression when using it, but those who knew Angular1 had some "relearning" to do. A final observation - the adoption of Typescript turned out to be less painful and more fulfilling than anyone of us expected!

Re: Does Angular 2 live up to the hype?

#3
Performance is great.

Module loading is easy.

Template expressions are powerful.

Typescript is actually pretty cool. You don't use it very much at first and aren't required to.

It saves a lot of time to use something that just works. I spend much less time wading through blog posts and fringe git repos to do simple stuff.

Re: Does Angular 2 live up to the hype?

#4
Have been using angular 2 since beta. Had some frustrations through the RC releases and lots of breaking changes. The new new new new router being a huge one.

Overall though I love the framework and will def be my go to for front-end apps. Typescript is a huge plus. Lovely dev experience now that it's stable.

Re: Does Angular 2 live up to the hype?

#5
Can anyone comment on Angular 1 and Angular 2 living side by side in the same project, for the purposes of slowly migrating over to 2?

I am aware that it is possible, but I've yet to read anything about someone really living with that. Everyone just talks about rewriting all code from scratch, which we're just not going to do.

Re: Does Angular 2 live up to the hype?

#6
The author recommends grabbing jQuery where necessary and I'd have to disagree. Instead they could look into ngOnChanges in the component lifecycle or using a different ChangeDetectionStrategy on the component. But maybe jquery is the better option for their use case.

We're using it for an internal app at walmartlabs and its been great coming from angular 1. Working with angular-cli today is very stable and fully featured. I published a quick test module yesterday using angular-cli https://scttcper.github.io/ng2-adsense/ after gzip its small even with all of bootstrap v4's css included. It sounds like with ahead of time compilation we could see even faster first paint times combined with lazy loading of routes and modules it should be very fast even without using angular universal.

Typescript is good, but I don't like tslint. I'm excited to see if eslint support for typescript goes anywhere: https://github.com/eslint/typescript-eslint-parser

Re: Does Angular 2 live up to the hype?

#8

We've been using A2 since RC3, and are approaching a GA of the product. Everyone on the dev team has had a positive impression when using it, but those who knew Angular1 had some "relearning" to do. A final observation - the adoption of Typescript turned out to be less painful and more fulfilling than anyone of us expected!

Which additional tools would you recommend to combine with AngularJS if you are targetting a web app for both desktop and mobile?

Re: Does Angular 2 live up to the hype?

#9
post #5

Can anyone comment on Angular 1 and Angular 2 living side by side in the same project, for the purposes of slowly migrating over to 2? I am aware that it is possible, but I've yet to read anything about someone really living with that. Everyone just talks about rewriting all code from scratch, which we're just not going to do.

Angular 1.x yields pretty well to ES6 (classes and so forth) which can have your angular 1.x project looking similar to 2.x, at least for controller definitions. This is a good example [1] and the somewhat equivalent ng2 example (with extraneous TS stuff) [2]. Both those projects are also good examples of Angular1/2 conventions like having an imports folder, api/ui separation of concernts, and so forth.

[1]: https://github.com/Urigo/meteor-angular-socially/blob/step_1...

[2]: https://github.com/Urigo/meteor-angular2.0-socially/blob/ste...

IMO neither of those examples are good benchmarks for Angular 1 or 2 because they have boilerplate for interop with MeteorJS. Plain Angular2 is much cleaner FWIW.

Re: Does Angular 2 live up to the hype?

#10
post #8

We've been using A2 since RC3, and are approaching a GA of the product. Everyone on the dev team has had a positive impression when using it, but those who knew Angular1 had some "relearning" to do. A final observation - the adoption of Typescript turned out to be less painful and more fulfilling than anyone of us expected!

Which additional tools would you recommend to combine with AngularJS if you are targetting a web app for both desktop and mobile?

Not GP but ionic is really solid. It helps to think of it mostly as a CSS framework with a tool chain for deployment and testing. Theres also a lot of examples and a pretty big community around angular + ionic.
Post reply on HN