DEV Community

Cover image for My Thoughts on React and Vue.

My Thoughts on React and Vue.

Mark Abeto on July 25, 2019

First of all, I'm gonna talk about the class syntax of React, not the new way of creating components using the Hooks API and the difference in writ...
Collapse
 
voidjuneau profile image
Juneau Lim • Edited

I'm still a bit being afraid to try out React hook, but it looks really cool.
May I carefully ask you how you think about Vue 3.0?

I learned Vue first and recently trying to learning React for a practical reason. I honestly prefer Vue more, but people's comment about Vue makes me worried a bit. I read both criticism and justifying but still, it's hard for me to determine, due to my lack of knowledge.

Collapse
 
seanmclem profile image
Seanmclem • Edited

React seems intimidating to start, but quickly gets easier. I think that's what everyone loves about it.

Collapse
 
macmacky profile image
Mark Abeto • Edited

yea that's what I thought when I started using React. But when you understand the basic concepts like Components, Props,State,Binding Functions, and Immutability it really gets easier.

Collapse
 
voidjuneau profile image
Juneau Lim

I hope so. I couldn’t reach that point yet.

Collapse
 
macmacky profile image
Mark Abeto

Yea it's coming and it looks really awesome. RFC Proposal API.

Collapse
 
voidjuneau profile image
Juneau Lim

Oh. This is really interesting. Glad to for hear that. Thank you for the information!

Collapse
 
adamchenwei profile image
Adam Chen Wei

JSX is actually one of the best thing happen to me. It got it's quirk. But all the v-if, v-model, v- whatever and @ and : and. Whatever? Hell no! I will stick with JSX just because it's not pretending itself to be html template. Thanks

Collapse
 
mvoloskov profile image
Miloslav πŸ³οΈβ€πŸŒˆ πŸ¦‹ Voloskov • Edited

React vs Vue is not about the concepts. It’s about the money.

Facebook basically wanted to take over the industry by preventing lawsuits against them. This is why some companies banned react amongst their staff and this one of the reasons why Vue was sponsored by Alibaba.

While initially react was focusing on concepts, Vue just chosen to be more practical and to require less code. You don’t really need immutability, just go ahead and modify the state.

This is basically all the clash between them.

What matters today is not the thing itself but the infrastructure around it. You definitely have more rich tool palette with react: helpers, UI libraries, additional tools, bindings, integrations... in Vue, you can easily open an ui kit repo just to realize that everything except the repo name is in Chinese.

In 2017, Facebook was spending around $100k/mo to support React. Vue's palette is poorer not because Vue is bad – Vue is great. It’s poorer because Facebook invests ridiculous amounts of money in react.

Collapse
 
marciocamello profile image
MarcioCamello

But vue in next version has gone hook api hehhehe.

Collapse
 
ryands17 profile image
Ryan Dsouza

Vue will be even cleaner once the Hooks API is added in version 3. It's an RFC now.

Collapse
 
macmacky profile image
Mark Abeto

yea it's coming. it looks awesome RFC Proposal API