3 ms·
I don't buy into Vue being easier to learn than React. This year I picked up and started learning React after some experience with vanilla JS and jquery. I fir
by androidgirl 8y ago
I don't buy into Vue being easier to learn than React.
This year I picked up and started learning React after some experience with vanilla JS and jquery. I first tried Vue and for whatever reason, non-trivial examples were so hard to wrap my head around.
The documentation was hard to follow sometimes, and I had some issues with documentation on other projects like Nuxt.js, whereas the Create React App and Gatsby docs are so good.
I tried React just when I was about to swear off front end web development, and everything clicked. I've never felt like I had superpowers until I started using React to replace jquery soup.
Nowadays, I use vue occasionally if a project is using it, and it's easier to understand for me now. I still greatly prefer React, though, and JSX is a joy to use.
- BigJono 8y agoVue might be easier to "learn" under some metrics, but there's no way it's easier to actually understand. Look at the amount of hidden build-time logic in each system. Vue has it's own entire stringly typed DSL, React has one fairly trivial transform that's easily doable in your head, and is totally optional. which still matters, even though nobody chooses to go that route, because in theory it allows beginners to learn the JSX abstraction seperately, and helps smooth out the learning curve. Unfortunately nobody actually seems to learn this way because there's so much emphasis on getting devs up to speed and working on production systems as quick as possible, at the expense of actually imparting them with any wisdom or knowledge. The React team are the worst at this (although Vue is a very close second), there's no good reason that I need to go to Dan Abramov's twitter and blog to find out how the library I'm using works. It should be in the official docs. Otherwise you're just training devs to code through rote memorisation of patterns instead of any actual knowledge or understanding.
- smacktoward 8y agoI’ve been learning Vue myself lately and agree that the documentation is a huge weak point. Even the beginner’s guide leaps around from one advanced concept to another, rather than taking you from step 1 to step 2 to step 3 in easily comprehensible chunks. It makes learning Vue a lot harder than it probably needs to be.