I started with Vue and worked at start-up where I implemented. I now work a big brand where the architecture is react. Some comments just poo poo on Vue and claim React is better are Devs that haven't built production apps with Vue.
Vue:
Single Files Components are great
In SFC's knowing where methods, state, render life cycles go is just easy to read
Personally I found global state management in Vuex easier than Redux or Context API
No jsx weirdness
scoped sass is easy
better, easier to read conditions v-if, v-else
React:
Better built for super modularity
Better for child components to update parent state
React hooks, once you use and understand them are nice
By Super Modularity I mean everything is a component. So much so, in large systems, you need a design pattern like Atom Design Methodology: atomicdesign.bradfrost.com/chapter-2/
I think React, community and docs, point you in that direction. Vue can be the same way, in my opnion, but I think react more so
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I started with Vue and worked at start-up where I implemented. I now work a big brand where the architecture is react. Some comments just poo poo on Vue and claim React is better are Devs that haven't built production apps with Vue.
Vue:
React:
Can you elaborate on the "super modularity" point?
I like the point made in the Vue.js docs:
Beyond personal preference, and I will agree that this seems highly subjective, is there a reason why React apps would be "more modular"?
The jobs point is spot on. So far I find it to be the only compelling reason for a newbie like me to consider React.
By Super Modularity I mean everything is a component. So much so, in large systems, you need a design pattern like Atom Design Methodology: atomicdesign.bradfrost.com/chapter-2/
I think React, community and docs, point you in that direction. Vue can be the same way, in my opnion, but I think react more so