VueJs 2 with Vuex vs React with Redux

I spent the last few days on VueJs 2 with Vuex, and I really like it.

With only a brief introduction to React, I found that vue js 2 was easier to pick up.

The reaction seems to be growing in popularity, but I don't see the benefits of React over Vue 2.

Both are component-based frameworks with routing and government management tools.

So can someone explain which structure is better and why?

+4
source share
1 answer

. , , StackOverflow. , . (: Vue React Vuex vs Redux)

Vue.js?

  • . , . Vue.js, , script . . - TypeScript, Babel, Webpack ..
  • Vue.js Angular React. Vue. Angular , , , .. . React; JSX ( , ). Vue.js . Angular React JSX.
  • Vue.js . Angular ( v1 v2) React, . .

, Vue.js . - , , Vue.js: https://blog.webf.zone/vue-js-answering-the-why-after-15-months-62db797f75cc

?

  • React - ( ), Angular. , , ( ) ..
  • React Native - , React. , Web, . Vue.js. , React Native.
  • : - , . React , , , .
  • Redux: Redux - React. , , , ..
  • : , Relay, Next.js(Vue.js Nuxt.js). Drap-n-drop React; TypeScript ( TypeScript + Vue.js + JSX, 2018 ).

?

  • React . Redux, Redux, Immutable.js .. .
  • Redux. , .
  • : React - . - , Babel, Webpack ..

, ?

. Vue.js, (-). React, , React, , JavaScript - ( CSS - JS).

, . React , , , , . Vue.js . .

.

+3

Source: https://habr.com/ru/post/1691588/


All Articles