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...
For further actions, you may consider blocking this person and/or reporting abuse
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.
React seems intimidating to start, but quickly gets easier. I think that's what everyone loves about it.
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.
I hope so. I couldnβt reach that point yet.
Yea it's coming and it looks really awesome. RFC Proposal API.
Oh. This is really interesting. Glad to for hear that. Thank you for the information!
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
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.
But vue in next version has gone hook api hehhehe.
Vue will be even cleaner once the Hooks API is added in version 3. It's an RFC now.
yea it's coming. it looks awesome RFC Proposal API