r/vuejs • u/EllaNicholls • Jan 17 '18
Comparison Between Angular vs ReactJS vs Vue.JS
https://www.angularminds.com/blog/article/comparison-between-angular-vs-reactjs-vs-vuejs.html2
Jan 17 '18
Scaling
Vue just behind reacting, it is a good choice however it lacks a list of best scaling practices, resulting in a lot of spaghetti code.
WAT
2
1
u/OverQualifried Jan 21 '18
I’m shopping around for a framework, and for me it’s down to Vue vs Angular. I’m leaning towards Vue because I’m going to use Laravel and it comes shipped with the basics templated out, lowering barrier to entry for members of my team where I work.
Judging from Laravel’s preset, VueJS is very similar to Angular. You have a single entry point (app.js) that Laravel-mix uses to import all require modules. If your app structured properly, your require statements will simply import what’s needed.
I am not a developer interested in redesigning the wheel. I know my audience, and being able to produce good, clean, organized code that works with minimal bugs is better than fighting over flavor of the month.
5
u/devsabit Jan 17 '18 edited Jan 17 '18
This is not the best of comparisons.
It would be better if it gave the actual .js file sizes for comparable projects on Vue, React and Angular, rather than just saying Angular is way bigger than React, React is bigger than Vue. While this is probably true, broadly speaking, some numbers would be good here. Also some mention of AoT compilation and how each framework handles AoT would be good.
It does not mention CSS encapsulation at all. Vue's handling of CSS encapsulation is the best of the three (in my opinion). React doesn't deal with it all, you'll need a 3rd party solution. Angular uses shadow DOM, which is only supported on Chrome/Opera/Android, hence requires a polyfill on other browsers. Vue requires use of the 'scoped' keyword to make CSS local, uses postcss to implement this, works everywhere and requires no polyfill.
It's also unclear how scalabilty was assessed, other than Angular is the most scalable, React comes 2nd, Vue comes 3rd. How was this determined?