2 ms·
I learned Vue first, then when they announced hooks, I thought, why not learn React as well? Now I only use React, due to how it maps so cleanly onto functional
by cercatrova 6y ago
I learned Vue first, then when they announced hooks, I thought, why not learn React as well? Now I only use React, due to how it maps so cleanly onto functional programming paradigms, along with Redux. I can use maps and folds in my JSX, everything is a function.
I didn't like how with Vue there was something extra other than pure JS, which is their templating language, and the fact that you have to do stuff like registering a plugin for a library instead of just saying `import x from 'x'`. Plus due to being a templating based framework, TypeScript support isn't as good as React, though it's better in Vue 3. There were little things like that shifted my preference away from Vue and towards React.
Oh, and React just has a lot more libraries.