top | item 17289106

AWS Amplify now supports Angular 6 apps and Angular AOT compilation

21 points| quick-basic | 7 years ago |aws.github.io

16 comments

order
[+] dragonshed|7 years ago|reply
Yeah, so a trip to wikipedia can answer pretty much all the comments here.

AngularJS 1.7.1 was released June 8 2018 (3 days ago), and active development is set to end June 30, with 1.7.x supported as LTS through until June 30 2021. [1]

Angular 2 - 6 is on a much shorter release cycle, with Angular 7 scheduled to release in Sept or Oct 2018. There have been steady improvements, but nothing as radical as AngularJS 1.x -> Angular 2. [2]

For familiarity's sake, I imagine working with 1.x isn't a bad choice, but personally I wouldn't recommend starting a new project with it, especially if said project expects to have a large, nested tree of components. Such a project may exceed the recommended 2000 digest cycle watchers per page, whereas Angular 2+ and the use of immutable objects and observables inherently better performance characteristics.

[1] https://en.wikipedia.org/wiki/AngularJS [2] https://en.wikipedia.org/wiki/Angular_(application_platform)...

[+] joshschreuder|7 years ago|reply
I work in 1.x in my day to day and agree with you - I wouldn't recommend starting new projects with 1.x as it's starting to feel its age now. Performance is a major concern unless you are savvy with how you write your code.

I really like what Vue is doing as sort of an intermediate between Angular 1.x and the new world of frontend

[+] adreamingsoul|7 years ago|reply
Appearently so. Imho, 1.x is still the best.
[+] vikingcaffiene|7 years ago|reply
> Imho, 1.x is still the best.

Have you done any serious work in 2+ to make an assertion like that?

I know people are still mad about the rewrite and I was one of them, but I would encourage you to try to look past it next time you are firing something up. 1.x was great but 2+ is orders of magnitude better especially when you throw TypeScript into the mix (I know you can use TS with 1.x but its a first class citizen with 2+). Seriously, its shockingly good. More predictable, stable, and faster with less magic than with 1.x. The angular cli is amazing (code gen, linter, test runner/reporter, auto upgrade wizard... powerful stuff) Being able to do proper component based dev with a sane api is a dream. Observables in 2+ are kind of a mixed bag IMO but, when used right, they offer a lot of benefits for managing streams of data in a functional, composable way. I commend the angular team for continuing to support 1.x but I'd be surprised if you still feel that 1.x is better after spending some time with with 2+.

[+] egfx|7 years ago|reply
Agree but I think you need to make the distinction between 1.5 and 1.3. 1.5 was such a radical change that really paved the way to 2.0+ with the component syntax. At that point it was losing it's 1.x identity.
[+] aviv|7 years ago|reply
1000% this. For a consulting shop, Angular 1.x specialty was, is, and will be hot for many years to come. From a developer stand point, there is really no need to look elsewhere other than hype.
[+] RobertRoberts|7 years ago|reply
Did they skip versions 3-5?
[+] nsstring96|7 years ago|reply
I remember Angular 4 being a thing, so they skipped 3 and 5?
[+] helixten|7 years ago|reply
Only 3 was skipped.
[+] th3iedkid|7 years ago|reply
didn't know aws had a github.io page for their oss work!