DEV Community

Cover image for Angular vs. Vue (again...)

Angular vs. Vue (again...)

Jonas Pfalzgraf on September 14, 2022

Navigation Navigation Introduction History Learning curve Popularity Vue Syntax and Complexity Structure and Flexibility Data Rendering...
Collapse
 
hassanzohdy profile image
Hasan Zohdy

Nicely wrapped comparison.

I'd prefer Angular in large projects because of its strict rules than vuejs.

When project becomes more larger it will be harder to maintain and trace if there are beginners working on it unlike Angular, which instruct them with some certain strict rules.

Actually it would be great also to mention React In This Comparison :)

Thanks for the share.

Collapse
 
ivan_jrmc profile image
Ivan Jeremic

I'm not a Vue guy I use React but I know Vue is used in huge projects aswell so this is more a personal preference.

Collapse
 
maxisam_tw profile image
Sam Lin • Edited

jQuery has been used in large projects. As long as you want, you can use anything in a large project. The question is the pain scale of maintaining it.

Thread Thread
 
ivan_jrmc profile image
Ivan Jeremic

You can have very clean huge React projects if you and your team follow some rules.

Thread Thread
 
maxisam_tw profile image
Sam Lin

agree. but isn't it just like Angular then? Only difference is Google makes the rules lol

Thread Thread
 
ivan_jrmc profile image
Ivan Jeremic

Not really it's React then still.

Collapse
 
josunlp profile image
Jonas Pfalzgraf

It would be yes, but sadly I don't have any qualification using react at this moment :)
Maybe a future article will cover this ^^

Collapse
 
hassanzohdy profile image
Hasan Zohdy

Still good article though

Thread Thread
 
josunlp profile image
Jonas Pfalzgraf

Thanks :)

Collapse
 
bwca profile image
Volodymyr Yepishev

Angular.js and Angular are two different things. These terms cannot be used interchangeably.

Collapse
 
josunlp profile image
Jonas Pfalzgraf

Yes, exactly as I described in the upper part, :) I have adjusted the erroneous places.

Collapse
 
hicmtrex profile image
hichem

vue is much better then angular 😁

Collapse
 
nseaseb profile image
nseaprotector

Hi, I think Vue is interesting to integrate and evolve a big Legacy project. Angular is maybe a bit harder to get into but is very engaging once you get going. Vue 3 seems to me very promising, very little verbose, and coupled with vite / pinia it is formidable.

Collapse
 
cmcnicholas profile image
Craig McNicholas

I have to disagree with regards to large projects being more suitable for Angular. We have a multi million line codebase in TypeScript Vue, have successfully moved major versions without too much effort and have a highly controlled codebase.

It is up to the engineering team to correctly architect a project no matter the technology. This comes with experience. So whilst Angular is more prescriptive, you equally wouldn't have an inexperienced team working on such a large project.

Once you reach a certain size the framework won't save you, only good engineers will.

Collapse
 
speedopasanen profile image
Toni

"Angular uses a lot of memory because it comes with a lot of built in libraries"? Not correct. You only ship what you import in your apps, thanks to tree shaking. A bare bones Angular app is a few dozen kilobytes.

The Angular IVY compiler is very efficient and can produce very fast and light weight apps.

Also Angular is not MVC. They used to call AngularJS MVVM (VM for ViewModel) but even that's not what modern Angular is. It's a flexible framework that even allows you to build lightweight standalone web components if you want.

Collapse
 
josunlp profile image
Jonas Pfalzgraf

Since Angular is typically used for larger projects, many dependencies of the package are used. When you compare The amount of code of both Frameworks, used in Enterprise Projects, Vue winns by far. Even the core components of Vue are smaller. Tree shaking goes for vue as it goes for Angular.

Angular by standard adapts parts of the MV VM pattern, AND parts of the MVC pattern. Your right, i should have brought that up. Since Vue focused only on MV VM based on its custom components, my argument still stands.

Collapse
 
topninja profile image
topninja • Edited

Angular is supported by Google, I think Google will win anyway - my personal thought, :)

Collapse
 
josunlp profile image
Jonas Pfalzgraf

You underestimate how big the community of developers working on Vue is. The project is extensively covered and backed by several large companies and projects such as GitLab, Chrome Frameworks Fund, Laravel, DevExpress and more.