Comparing VueJs and React in a right way —
Coming down to my personal experience here in this section.
Only question that bothers me is that what has VueJs solved what was not already there? It just bettered AngularJS by copying all the ideas from React ecosystem. Thumbs up to their effort and they done all that really well — Docs especially are awesome.
Check alternatives it has built looking at Router, Redux, NextJs and even the underlying principle of Virtual DOM. Even the names are rhyming. Ha-ha!
Sure they have some new things and concepts which I really like — computed properties, event bus etc…But we aren’t concerned about technical implementations. Maybe event bus is great or maybe not. If we do choose that path, React has it’s own ways do things for sure and that will be a separate discussion for sure
By no way my effort is to make a comparison to conclude a winner but just to list down my experience working with VueJs
VueJs is still maturing as far as ecosystem is concerned.
This is my personal developmental experience within 2 months and I’m listing down a few issues raised with them which are not looked upon. I feel they are more busy towards 3.x release and things are going to change as far as look and feel are concerned.
Issue list Highlights — Vue Styled components, Vue JSX
- https://github.com/styled-components/vue-styled-components/issues/63
- https://github.com/styled-components/vue-styled-components/issues/66.
StackOverflow link.
3. https://github.com/vuejs/babel-plugin-transform-vue-jsx/issues/161
4. Editor Vscode support — https://github.com/Microsoft/vscode/issues/60963
Opened up a request here — https://github.com/vuejs/vetur/issues/947
There is missing support for editor tooling per se for `.vue` files.
There are many other I’m sure which I may not have come across yet. Feel free to provide feedback in comments. I’ll keep updating the list as well.
But what worries is that the response time is slow from the community and otherwise too from github issues( dormant almost). Maybe they’re busy with 3.x release and more changes as mentioned earlier.
Future —
Now, I’ve a feeling these two frameworks will be running in parallel.
Recent I read was hooks React is coming up with.
and sure Evan is incorporating that too in his framework.
Overall, I do like working with both as I’m able to use VueJs in almost functional and declarative way in my code without the use of templates. You can have a look at
if you’re interested to learn VueJs but come from React way of doing things. I may have already taken a lead there and thought this might be helpful for some who prefer functional style of coding.
Conclusion — VueJs will be adopted by those who prefer template based syntax ( although you can use functional support as I discussed earlier. Maybe they’re ignoring some of issues due to that also 😃) and React will be famous among those who prefer functional and declarative way of coding.
Here’s a picture of both having something together in NYC recently
I follow and love them both for work they’re doing. Happy Coding!
