DEV Community

Discussion on: Which JavaScript framework should I choose?

Collapse
 
buphmin profile image
buphmin

I'm a fan of Vue due to it's simplicity and excellent docs. At my work we have a lot of old code so a requirement for any framework must be that it can work in that context. Vue allows you to progressively add vue to more and more pages which is nice. I have also used Vue to make a SPA which was quite pleasant.

Compared to Angular 1.X and Aurelia (only two frameworks I have used) Vue is very easy to learn and you can solve most problems by searching the docs. In my opinion the hardest part of learning Vue was learning webpack to get single file components to work.

For the most part I think Vue stays out of your way, allows you to do mostly anything and is quite fast. That is about all you can ask for in a framework.

Collapse
 
tayambamwanza profile image
Tayamba Mwanza

I've found that I prefer Angular, once you've gotten past the learning curve and feel comfortable with it it's hard to use anything else because it provides so much out of the box.

When it comes to Angular cli, it's second to none.

E.g angular cli commands:

ng update (updates your angular projects dependancies and automatically fixes outdated code)

ng add (automatically add 3rd party library and configurations)

I can say ng add pwa and it will automatically set up my app as a progressive web app

So at this stage I'm very happy with Angular and it's about to get a big performance boost and better error messaging.

I'm not saying Vue is bad though, I like it as well. It's just that Angular is my favorite.

Collapse
 
buphmin profile image
buphmin

Is this Angular > 1? I really only have experience with the original angular. I do like that the newer Angular uses typescript though.

Thread Thread
 
tayambamwanza profile image
Tayamba Mwanza

Yes that's right Angular 2+