News for hackers. Stuff that matters.
Re:How we do Vue: one year later (2017) by keyle on Monday March 18, 2019 @08:01PM (#19426644)
Yes I've used React. React was ok, but I had to think React and work the React way. With Vue, I work my way with minimal conformance.
Re:How we do Vue: one year later (2017) by koboll on Tuesday March 19, 2019 @12:54AM (#19428163)
Weird, I came away with just the opposite impression. Vue forces you to organize everything in a certain way: data goes in data, computed properties go in computed, methods in method... it all felt very Rails to me.

React sort of used to have this problem, too, when you had to rely on classes for state, but the hooks era is a breath of fresh air. Everything is just a function. It feels freeing.

Re:How we do Vue: one year later (2017) by Semaphor on Tuesday March 19, 2019 @02:07AM (#19428464)
With Typescript classes that becomes better imo. Data are instance variables, computed properties are getters (and setters) and methods are instance methods.