News for hackers. Stuff that matters.
Re:Vue.js Documentary [video] by thomasfromcdnjs on Tuesday February 25, 2020 @10:32AM (#22413922)
I don't think it is that hard to learn React and Styled-Components, makes the frontend feel like real programming.

Vue.js just seems full of anti patterns and magic, likely why so many devs who come from PHP like it.

If it works for you, then kudos, but if you are a dev who wants transferrable skills and to prepare for the future, learn react.

Re:Vue.js Documentary [video] by jagger27 on Tuesday February 25, 2020 @11:36AM (#22414563)
Seems full of anti-patterns? Have any examples? React is easily just as magical. I'm curious. I also don't see how React skills would be transferable to anything but React.
Re:Vue.js Documentary [video] by STRiDEX on Tuesday February 25, 2020 @12:29PM (#22415109)
Not that i'd put php users and vue users in the same overlapping venn diagram. Global mixins is probably the biggest anti-pattern I see in vue. Vue also allows some stuff like accessing this.$parent and v-for and v-if loops on the same element like angular 1. Really just any of the bad parts of angular 1 that vue brought over and other frameworks including react and Angular v2 did away with.
Re:Vue.js Documentary [video] by altec3 on Tuesday February 25, 2020 @12:40PM (#22415231)
Sure you can access this.$parent, and use a v-if on an element with a v-for, but if you read the docs, they tell you that you probably shouldn't be doing either of these things [1][2].

[1] - https://vuejs.org/v2/guide/components-edge-cases.html#Access... [2] - https://vuejs.org/v2/guide/list.html#v-for-with-v-if

Re:Vue.js Documentary [video] by libria on Tuesday February 25, 2020 @01:28PM (#22415743)
Not a Vue dev, but someone mentioned a weakness in the other thread: https://news.ycombinator.com/item?id=22349300
Re:Vue.js Documentary [video] by scns on Tuesday February 25, 2020 @01:25PM (#22415720)
Some would transfer to Flutter