News for hackers. Stuff that matters.
Re:Vue.js vs. React by jaequery on Saturday August 19, 2017 @01:23PM (#15054481)
working anything with loops and conditionals, Vue is way nicer than JSX all the way around, especially the more complex it gets with *-level nested json data trying to mix in with conditional portions of the view, and even saving reactive data back the scope of the loop, etc. i'm not sure why you'd think otherwise. JSX code with many loops and conditionals can start look incredibly ugly pretty fast. if you can provide an example, we can compare between the two to see which is nicer.
Re:Vue.js vs. React by brlewis on Saturday August 19, 2017 @01:35PM (#15054555)
I have a JSX example. It isn't React, but it's Mithril which is similar: https://github.com/brlewis/brlewis.github.io/blob/master/201...

Blog post accompanying said example: https://medium.com/front-end-hacking/how-it-feels-to-learn-j...

I'd be interested to see the equivalent vue.

Re:Vue.js vs. React by Kiro on Saturday August 19, 2017 @04:23PM (#15055377)
Maybe it's just me but I've struggled a lot with especially Angular's template syntax.

Would love to see a side-by-side comparison of complex nested data structures in Vue and React.