News for hackers. Stuff that matters.
Re:Vue.js vs. React by jaequery on Saturday August 19, 2017 @03:47PM (#15055209)
it's just plain for(x in list){ .. }

v-for="item in list"

if you need idx:

v-for="(item, i) in list"

pretty standard stuffs

Re:Vue.js vs. React by moo360 on Saturday August 19, 2017 @10:42PM (#15056758)
Cool, but in JSX it's just javascript as you would write it anywhere else in your app, except encapsulated in braces. How is that not simpler for people who should be Javascript developers?
Re:Vue.js vs. React by PrunJuice on Saturday August 19, 2017 @09:17PM (#15056485)
I thought the whole point was that you didn't have to write loops in Vue.js and yet here is a loop in Vue.js.