Live data from Hacker News

Why we chose Vue.js over React

pixeljets.com

1–10 of 267 posts

Re: Why we chose Vue.js over React

#6
I've been using Vue.js at work for this kind of thing: http://reassurez-moi.fr/taux-pret-immobilier

It was as simple as adding Vue.js itself and one JS file for custom code. I tried using Angular but right off the bat, I had to install hundreds of dependencies via NPM.

That's what I like about Vue.js. It's simple to reason about for the kind of use case I linked above.

Re: Why we chose Vue.js over React

#7
My man, a lot of the pain described in this article can be solved by Mobx: https://stackshare.io/mobx

One of our engineers at StackShare[0] suggested it and it's fantastic.

Mobx is very simple to understand and will make writing a "React" page a real joy again. Redux was way too complicated for what it gave, and just shot term after term after term at me that left me with a headache. I still don't understand Redux proper.

>Why do you have to type so much?

I know! I nope'd away from Redux because of that same reason.

But Mobx clicked for me. And if it clicked for me, it'll click for you.

Basically you have a store and you use that store anywhere in your components to share store state. When you update that store state everywhere else updates as well. Simple.

Another great reason to use React as opposed to alternatives is react-native. A _lot_ of knowledge transfer between the web and mobile with react native. It's pretty insane.

[0] - https://stackshare.io/stackshare/stackshare

Re: Why we chose Vue.js over React

#9
I believe React is popular (among other reasons) because you don't need to learn what is v-if v-else and other repeative commands when you have plain and simple JS equivalents.

React has te philosophy "It jusy works", and people love this

Re: Why we chose Vue.js over React

#10

It's been a while since I've needed a front end framework but if react doesn't scratch your itch, you should check out cycle.js. https://cycle.js.org

Really good framework indeed. One of the few who are really good in handling realtime data. Its dataflow-components are much more flexible than React components, which makes it really more flexible.
Post reply on HN