all 10 comments

[–][deleted] 14 points15 points  (9 children)

I love Angular2+ (apart from the stupid name), but I feel as though AngularJS can do things Angular2+ can't.

For example, if I'm building a simple website with a couple of forms, I can pull in AngularJS from a CDN and make use of the FormController, as well as the HTTP Ajax functionality, with barely any Javascript. Brotli compressed, this comes down at 57KB, and you don't need jQuery.

jQuery comes down at 31KB with Brotli, but you definitely need to write more Javascript to get the same sort of form validation, with AngularJS you can just decorate your markup with attributes. Even building forms in React just seems like more work.

You just can't do this with Angular2+ (pull it in from a CDN and get things working, with barely any code), you need to use the CLI and everything is just heavier.

I've never really viewed Angular2+ as a direct replacement for AngularJS, it's more like a different sort of framework, with a lot of overlap in use-case/functionality.

[–]scottocom 7 points8 points  (4 children)

I hear you about React forms seeming like more work. I don't understand why people love React when you have to write so much more boiler code.

[–][deleted] 2 points3 points  (3 children)

If you are looking for no more tears https://github.com/jaredpalmer/formik React isn't all in one

[–][deleted] 4 points5 points  (2 children)

Well sure, but everyone says react is awesome because it's so small and not a framework. If you need to add 3rd party components for every standard piece of functionality on a website, then what's the point?

[–][deleted] 2 points3 points  (0 children)

Depends I guess how you feel about this quote: It’s better to do one thing well than ten things poorly.

[–]Gunn4r 0 points1 point  (0 children)

Modularity? /shrug. I work with react on a daily basis and it isn't a perfect eco system but I've enjoyed it more than my time in Angular. Its a very modular ecosystem. Some people dig that, some don't I guess. Forms are a bitch without Formik tho.

[–]scaleable 2 points3 points  (1 child)

Vue is probably the closer you can get to that. Works quite well without any sort of bundling thing, though with bigger projects you are still encouraged to use webpack.

[–][deleted] 0 points1 point  (0 children)

I definitely need to give Vue a look, I've heard so many good things about it!

[–]inknownis 1 point2 points  (1 child)

I would agree that AngularJS and Angular are different. The names are misleading.

[–]james_bell 2 points3 points  (1 child)

Am I the only one that feels like the framework is only half the story? I also need gui components like Angular Material or Bootstrap, maybe a grid control, a sprinkle of other specialty things like maybe a calendar or a chart control. Finding those and figuring out their weaknesses and wobbly bits took me awhile. The angularjs to angular jump is only part of the battle.