News for hackers. Stuff that matters.
Re:How and why we moved to Vue.js by faitswulff on Sunday February 11, 2018 @12:10PM (#16353497)
> React let's you focus on how the component should behave instead of doing mental gymnastics trying to manipulate the DOM

Agreed - a huge benefit of Vue is exactly that - it's declarative. You describe what you want with a (more or less) plain ol' Javascript object, instead of how you want something to work. It's almost like writing JSON - and is just as readable.

Re:How and why we moved to Vue.js by rleija on Sunday February 11, 2018 @03:30PM (#16354622)
ReactJS is declarative as well.
Re:How and why we moved to Vue.js by faitswulff on Sunday February 11, 2018 @04:21PM (#16354876)
I wasn't saying that it isn't.
Re:How and why we moved to Vue.js by GhostVII on Sunday February 11, 2018 @04:18PM (#16354861)
JSX is not declarative
Re:How and why we moved to Vue.js by timbuckley on Sunday February 11, 2018 @05:14PM (#16355133)
Not really sure how you can reach that conclusion. With JSX you are declaring what the HTML will look like, rather than specifying how to do the transitions. It's difficult to get more declarative than that.