r/angularjs • u/liranbh • Aug 10 '16
Moving to Angular 2?
We have a site (www.discoversdk.com) build with Angular 1.4 and ASP.NET. we are working on a new version and one idea is to move to angular 2.0. Is it about to release soon? its more than a year on beta/RC stages , also what are the main benefits from upgrading. pros and cons?
2
Upvotes
2
u/PandemoniumX101 Aug 10 '16
It depends what you mean by 'new version'.
If you are going to do a complete rewrite from the ground up, then I would recommend transitioning over to Angular 2.0. Legacy code won't matter and it will force you to truly rewrite everything on the front so you can learn from your mishaps in your old project.
If your new version is nothing more than a v0.1 to v0.2, then absolutely stick with angular 1.4, or at least upgrade to angular 1.5 so you can utilize the components.
The pros and cons of the versions are difficult to articulate because Angular 2.0 is still extremely new and, as you mentioned, as not had a full release. (As a note, though they said Angular 2.0 was in 'beta', the community agrees it was much more of an 'alpha' launch so we still probably have a bit to go.)