News for hackers. Stuff that matters.
Re:A curated list of things related to Vue.js by erokar on Saturday September 02, 2017 @06:31AM (#15155248)
1. Template syntax instead of JSX, the latter being unfamiliar and initially off-putting to many.

2. Two-way data binding. Convenient, no need to write handler functions.

3. Comes off as a better version of Angular. Appealing if you're familiar with Angular.

4. Comes off as more curated than React with regards to e.g. routing and state management, less need to shop for libraries.

5. More performant in some situations.

That said, I prefer React. I consider 1 and 2 drawbacks of Vue compared to React.

Re:A curated list of things related to Vue.js by roblabla on Saturday September 02, 2017 @09:06AM (#15155779)
Just a nitpick, but you can use JSX in vuejs : https://vuejs.org/v2/guide/render-function.html#JSX
Re:A curated list of things related to Vue.js by threatofrain on Saturday September 02, 2017 @11:14AM (#15156354)
But how is the JSX story in Vue? Every time I ask this I kind of get crickets, because it seems just about everyone is using the default template syntax.
Re:A curated list of things related to Vue.js by alevans4 on Saturday September 02, 2017 @12:58PM (#15157007)
I agree. JSX is supported but in my experience, very rarely used.
Re:A curated list of things related to Vue.js by KitDuncan on Saturday September 02, 2017 @06:35AM (#15155264)
Two-way databinding is not supported by Vue 2 if I remember correctly. You can do it, but you'll get console logs, about how you should avoid doing it.
Re:A curated list of things related to Vue.js by regecks on Saturday September 02, 2017 @06:39AM (#15155289)
Two-way binding does exist, just not in the same problematic way it existed in Vue 1. It was changed to just be syntactic sugar for the event handler approach - https://vuejs.org/v2/guide/forms.html .
Re:A curated list of things related to Vue.js by erokar on Saturday September 02, 2017 @06:38AM (#15155279)
It seems to be supported in Vue 2.x to me: https://vuejs.org/v2/guide/forms.html