Hacker News new | ask | show | jobs
by kbody 2656 days ago
Have you tried React in a similar setting? Personally I couldn't bear it and it's massive adoption on frontend pushed me away from following that route much. Vue on the other hand certainly looks more "logical" to my eyes.
1 comments

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.
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.

With Typescript classes that becomes better imo. Data are instance variables, computed properties are getters (and setters) and methods are instance methods.