React vs Vue: Why I choose React over Vue
Dec 7th 2020 | 2 Min Read
If you’re at least somewhat familiar with front-end development, you’ve probably heard about React and Vue.
React and Vue are very similar in several aspects. Both use a virtual DOM, and both view libraries. Both Vue and React are solutions to the same problem as reactive HTML rendering tools.
Another difference is how React and Vue manage state, and State management is essential for React apps. In React, there are many frameworks like Redux that can help you manage your states.
In Vue, there’s no need for a local state as you can modify data using a Vue object's data property. For larger apps, Vue offers Vuex as a state management library.
If we talk about Popularity, React clearly won this battle. It’s not surprising that it has a bigger community and popularity because Facebook created and uses this technology.
Vue does not have an alternative to React Native, so Vue's developer cannot use their knowledge of Vue to make mobile apps.
One another benefit of React is that the majority of components I write are essentially functions that receive props and return a view.
So, due to all those reasons, I preferred to React over Vue.