Earlier quoted context omitted.
"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
Makes 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)!
Vue 3.0 Updates [slides]
101–110 of 126 posts
Re: Vue 3.0 Updates [slides]
#102Earlier quoted context omitted.
That's interesting, I started with React, and switched to Vue, and felt Vue was the simpler tool.
Agreed. 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…
Re: Vue 3.0 Updates [slides]
#103Re: Vue 3.0 Updates [slides]
#104How about the ability to create multiple components in the same .vue file? for instance I need to define a sub-component that will be used only inside my component, this is easy in React but with Vue I have to create another file to define this sub-component, this makes the project management becomes harder as the project grows
No problem: https://www.youtube.com/watch?v=l3GHggI3_z8
As you can see, the're quite a few nested components in a single .vue file.
Re: Vue 3.0 Updates [slides]
#105I think the best part about Vuejs is that how simple it is and everything just works! A vue component is still as simple as {template: 'hi'}. You don't need webpack or any transliteration for it to work. Just drop the script tag like the good old jQuery and it's working! No wonder it was so easy to switch to it. Transition from vue1 to vue2 was really simple. I'm sure the same will be true for v3.
Re: Vue 3.0 Updates [slides]
#106I'm happy to see another framework moving to Typescript.
Re: Vue 3.0 Updates [slides]
#107.
Re: Vue 3.0 Updates [slides]
#108Earlier quoted context omitted.
Exporting reactive JS native apps for iOS and Android is the most significant feature -- was what I would have said. I looked it up before writing this comment, and apparently Vue introduced this in June 2018. Case in point of this comment thread :)
With vue native you can use anything from the react native community in a vue application. You get the best of both worlds! https://vue-native.io/
Re: Vue 3.0 Updates [slides]
#109Earlier quoted context omitted.
That's interesting, I started with React, and switched to Vue, and felt Vue was the simpler tool.
Agreed. 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…
If you've got any specific suggestions for improvements, please let us know! I'm always looking for ways we can make the docs better.
As a side note, React is separate from Redux, and Redux is definitely not tied to React. Here's a recent post about a team that opted to use Redux with Vue: https://snipcart.com/blog/redux-vue .
Re: Vue 3.0 Updates [slides]
#110Earlier quoted context omitted.
In the docs: https://reactjs.org/docs/react-without-jsx.html Unfortunately it uses ES6 features. There's no ES3/ES5 demo without JSX -- https://reactjs.org/docs/react-without-es6.html uses JSX
Unfortunately it uses ES6 features. As an aside, is that really a problem these days? All modern browsers now offer comprehensive native ES6 support. Unless you still need to support older platforms like IE or some of the legacy mobile browsers, it's mostly a non-issue.