Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An...
by jaequery on Tuesday June 19, 2018 @01:55PM
(#17348853)
that was how i felt too which was the same reason i disliked angular. but vue's templating syntax have turned out to be really enjoyable to use. it made me think how wrong i was of my initial impression of vue. you have to give it a try to understand it.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An...
by amelius on Tuesday June 19, 2018 @02:39PM
(#17349212)
Sorry, I appreciate your enthusiasm, but I just can't imagine how shoehorning a language into XML could ever be a good idea.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An...
by jaequery on Tuesday June 19, 2018 @07:52PM
(#17351251)
thats how i felt too, and i'm now a big fan of vue. its funny how that works.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An...
by amelius on Wednesday June 20, 2018 @05:43AM
(#17353835)
Ok. I wish you could say a little more about why, though.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An...
by dmitriid on Tuesday June 19, 2018 @02:53PM
(#17349313)
There’s nothing enjoyable about Vue’s syntax. It’s not really HTML, and not really Javascript (it’s Javascript-like ... sometimes). Same goes for Angular, Polymer and Svelte.
And on the Javascript side Vue actually breaks existing assumptions about code. For example, it hoists methods and properties and makes `this` available where it can’t be available.
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An...
by serpix on Tuesday June 19, 2018 @02:12PM
(#17349008)
how do you access nested properties in Vue templates?
You can't do a.b.c if b is undefined and instead need to wrap it into satanic template extensions
Re:GitHub Stars !== Usage: React Is Still Blowing Vue and An...
by bigtunacan on Tuesday June 19, 2018 @04:08PM
(#17349914)
When logic starts to get too complicated you have the option to move it into a render function; you can even use JSX if that's your thing.
One of the nice things about Vue IMHO is how it leaves more flexibility to the developer to choose the right path.
Yes, I hate that syntax. It's like they picked the worst from HTML and Javascript. Instead "if" statements should be dealt with in Javascript entirely.
It's one of the reasons why I don't use Vue.