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.
[ Parent
| on HN ]
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.