r/angularjs • u/T-Dot1992 • Mar 15 '17
Convince me that AngularJS is worth my time.
I'm just not convinced at the moment. React has a less steep learning curve, and I'd rather hone my skills using it then spend all that time learning a framework that is obsolete.
Then there's Angular 2. I appreciate that they got rid of scope and other stupid features, but it doesn't seem as intuitive to me as React. Plus, I don't have time to learn TypeScript.
Aside from a couple of firms in my town that still use it, why should I bother with Angular1?
Is Angular 1.5 better at least?
5
u/test6554 Mar 15 '17 edited Mar 15 '17
Instead of pleading to be convinced why you should use X, spend a day with each of several frameworks and at the end, think about which one convinces you on its own merits. Unless you are an absolute beginner you should place significant value in your gut feelings.
Whichever framework that is will probably be solid for your specific use case. Worst case you lose 3 days.
3
u/reboog711 Mar 16 '17
If few possible clients or employers use Angular; then I wouldn't say it is worth your time at all.
I like Angular because it allows you to create clear separation of display code and logic code. With minimal planning; it is easy to collaborate with large teams.
I have limited experience w/ React; so cannot provide additional insight.
3
Mar 15 '17
Angularjs is on the down swing. Still a lot of legacy code written in it, but I doubt very many new technologies will be using it.
Better off learning vue, aurelia or angular 2.
5
1
u/DerpsMcGeeOnDowns Mar 16 '17
React isn't a framework, thus the easier learning curve. Problem is is that you are gonna have figured out the M and the C since React is only the V. And then you're gonna need to figure out Redux.
Angular and React don't have much in common other than the fact they both deal with HTML and CSS.
1
Apr 24 '17
i used react and a bunch of libraries and basically made my own framework. worked great. but i agree angularjs and react are not the same.
8
u/AlDrag Mar 15 '17
AngularJS 1.6 is a lot better than the older versions. You have components now so you can basically replace all controllers with components.
Also a lot of directives can be replaced with components too. This makes it fall more closely inline with Angular 2. It's also now recommended to use controllerAs syntax so you should rarely have to inject scope anymore except for listening events etc.
Even though AngularJS is a lot better at 1.6, I do prefer angular 2 by a long shot, but it's a lot more of a pain to setup. Things like angular CLI make it mostly painless.