5 ms·
It's actually a very legitimate answer. Vue and React are similar tools that solve basically the same use cases, with some technical and cultural differences.
by acemarke 9y ago
It's actually a very legitimate answer. Vue and React are similar tools that solve basically the same use cases, with some technical and cultural differences.
- React uses JSX and JS logic for render methods. Vue usually uses templates, although JSX is also supported.
- While React _can_ be used as a plain script tag, it's usually compiled as part of a build step. Vue can be compiled, but it seems friendlier to the "drop-in script tag" approach.
- The Vue community values official integrated addons for routing and state management. The React community prefers a "pick-and-choose your own adventure" approach.
- Since React has been around longer, there's probably more React components and related libraries available
- A larger percentage of the Vue community is located in China
The best comparison of Angular, React, and Vue I've seen thus far is at https://medium.com/unicorn-supplies/angular-vs-react-vs-vue-a-2017-comparison-c5c52d620176 https://medium.com/unicorn-supplies/angular-vs-react-vs-vue-... . It lays out a lot of the similarities and differences in a fair way, and gives some suggestions for why you might pick one over the others.
- IgorPartola 9y agoSure. I am well aware of these differences. They are basically two different implementations of the same idea with two communities that do things slightly differently. What I fail to see is how I would choose one over the other for different types of projects. To me, it's a choice a person or a team makes for all projects at once. Jumping back and forth between stacks here would be a lot like jumping back and forth between Django and Ruby on Rails. They aim to solve the same thing, and if you can use one effectively then why would you reach for the other?
- water42 9y agoI think you're overcomplicating how transferrable framework knowledge is. An expert React developer could switch to Vue no problem if there was demand for it. Similarly an expert Vue developer could switch to React no problem.
- IgorPartola 9y agoI am not. The original question was about starting a new project and the orinal answer was “depends on the project”. I am asking how it depends “on the project” and not on the person. What properties of the project would drive you to choose one over the other?
- bpicolo 9y agoI think it's more organizational, yeah? The context for two different projects can drastically differ.
- IgorPartola 9y agoRight. So "It depends on your project" should be "it depends on your team" or "it depends on your organization"?
- bpicolo 9y agoProbably. Also depends on your mood at the time ;)