re: Which JavaScript framework should I choose? VIEW POST

FULL DISCUSSION
 

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.

 

Totally agree, I always found Angular frustrating, but Vue can get so much done with so little code.

Check out the latest version of vue-CLI for your next project. I haven't so far had to configure anything for webpack, as it provides best practice out of the box - and hidden away.

 

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.

 

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

code of conduct - report abuse