3 ms·
Well, one-way binding (or rather, unilateral data flow) is why I prefer React :)
by williamdclt 8y ago
Well, 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.