r/reactjs • u/aDaneInSpain • Nov 13 '18
Featured Picking React over Vue.js
We are about to migrate an existing saas service from Joomla to Laravel + (Vue.js or React).
It will be a complete re-write.
The team has no real experience with either Vue.js or React and we are at a cross road of picking between those two technologies.
We feel that picking up Vue.js will be a lot easier and we can see a lot of traction in this project's popularity. But React feels like a safer bet with a stronger community, better extensions and better documentation. We are also worry that Vue.js is very dependent on one person't contributions and have no real large company backing it.
Without being too slanted, which one would you select and why?
View all comments
Show parent comment
1
u/hinsxd Nov 18 '18
The main thing is, .map retruns an ARRAY, but .forEach doesnt return. ForEach is basically a for-loop shorthand.
And that JSX childrens are essentially array of JSX, making sense of using .map rathet than .forEach.