|
|
|
|
|
by unifyjs
887 days ago
|
|
What is your preferred programming style, are you more comfortable with an object oriented or functional approach? Vue is entirely "class based" and matches more closely with an object oriented style. It is heavily based on the mobX (previously knockout.js) approach to reactive properties on objects. React, at least the more recent iterations, works best using function components with hooks and adheres to more of a functional programming paradigm (though you can still use class based components, these are no longer what the react team recommend). After many years of playing with both React and Vue, I personally much prefer a functional approach and prefer React. The "top down" data flow is much more predictable and easier to debug than having derived properties that are dependent on other derived properties that are dependent on other derived properties (etc... you get the idea). |
|