5 ms·
Having started with vue, and now playing with react, I’ve found myself often thinking “this is so much simpler”. But maybe I just sucked at vue.
by eksemplar 8y ago
Having started with vue, and now playing with react, I’ve found myself often thinking “this is so much simpler”.
But maybe I just sucked at vue.
- k__ 8y agoI think two-way-binding is the reason why many people prefer Vue to React. If you did Ember or Angular1, Vue is much easier to grasp.
- williamdclt 8y agoWell, one-way binding (or rather, unilateral data flow) is why I prefer React :)
- k__ 8y agoSame here. But I probably wouldn't look too much into React if I wasn't forced to do it in a project 3 years ago.
- orangecat 8y ago"v-model" isn't two-way binding like in AngularJS where both parent and child can modify the same data. It's just shorthand for defining a property and an event handler. Like in React, properties flow down and events flow up. See https://vuejs.org/v2/guide/forms.html https://vuejs.org/v2/guide/forms.html
- williamdclt 8y agoMakes sense, I've done some Angular but I'm not used to Vue. Not really related but forms really are the most painful thing to handle in all those frontend frameworks, it's driving me insane how much work has to go into them when it's dead simple with a backend framework (eg Symfony/Django)!
- winrid 8y agoThere are frameworks for AngularJS etc that handle most of the work in rendering forms.
- madeofpalk 8y agoThat's the narrative - if you're coming from Angular, you're going to find Vue more similar and probably easier to grasp.
- sircastor 8y agoThat's interesting, I started with React, and switched to Vue, and felt Vue was the simpler tool.
- jgalentine007 8y agoSame here!
- IgorPartola 8y agoAgreed. When evaluating both of them, it looked like React and Vue implement the same concepts, but React did it in ways that made it more complicated than it needed to be. I specifically didn’t like that Redux and it’s docs were too heady for what it really is (it’s just event triggering and handling, why does it have to be so complicated?), and the fact that React didn’t have any official “here’s is how to build a complete app” docs. It was always “well here are different choices and project layouts you could use”. I don’t want to care about using this templating system or that. I want batteries included. Vue did that well.
- rudolph9 8y agoRedux is an independent project from React. You could use redux with Vue. Your other points are valid but detracting from one library because people often use another you don’t care for seems outside the scope of React vs Vue.
- dmix 8y agoJust for the record most people using vue would be using Vuex: https://vuex.vuejs.org https://vuex.vuejs.org Which IMO is simpler to understand as a newbie than Redux. Maybe because it had the luxury of coming after Redux/similar projects and underpinning a simpler parent framework.
- Zooper 8y agoSounds as of 3.0 it became much simpler, as vuex doesn't sound as necessary.