top | item 14604060

Learning React? Start small

47 points| dceddia | 8 years ago |daveceddia.com | reply

12 comments

order
[+] rublev|8 years ago|reply
Learning React and ES6/ES7 at the same time? Invest in a gun ahead of time and keep it relatively close by.
[+] copperx|8 years ago|reply
It isn't that bad. One can be productive without getting into the minutiae of ES6.
[+] sooheon|8 years ago|reply
Or learn React through Cljs and forget worrying about most syntax ever again!
[+] londondev45|8 years ago|reply
Learn ES6 first, it will make learning the framework very easy. Otherwise you will never know the vanilla JavaScript from the React / JSX syntax.
[+] dceddia|8 years ago|reply
This is very good advice. And learn the basics of JS before you learn ES6. ES6 is mostly just shorter ways of writing things you already could with ES5.
[+] harrypujols|8 years ago|reply
Start small, with a Vuejs project, and put away React.
[+] copperx|8 years ago|reply
That would be wonderful, but I would like to have ready-made Vue components that I can plug into my app for rapid development. After searching incredibly hard, I realized that preexisting Vue components/frameworks as they are right now have a lot of bugs, or lack good documentation (some only in Chinese), or have visual glitches.

One can't deny that for such things popularity of the framework is supremely important. Even though I think Vue is superior to React/Angular, only half of the batteries are included.

[+] sayurichick|8 years ago|reply
i liked vuejs. I was able to go from start->completing a project much quicker than with React. That's because with react you have to also learn the entire ecosystem so that includes learning react-router, redux (or one of the 100 alternatives), webpack, etc. etc.

However, The biggest annoyance for me was getting the syntax/code formatting on sublime 3. That's what kept me from enjoying working in react. I decided to stop being lazy and configured it all to play nicely and things like react-create-app make it much more pleasant than spending all your time stuck on tooling instead of creating.

Also there is a job market for react and a good future ahead. There's no worry about react funding since facebook actively works on it. Vue is mostly donation/contributions and heavily relies on one individual. I think React has more of a learning curve but is the better bet long term.

[+] hfourm|8 years ago|reply
I will offer my own anecdote. I started learning react "the idiot way". Made my own state/stores, wired them up with little functions that my components called, directly included react file as a script tag, and made our first React project -- an analytics dashboard.

Now we have refactored everything and re built a large portion of our front end stack using react/redux/es6, but that first "react for idiots" project I think was an important learning step.

[+] Xoros|8 years ago|reply
Well that's a good advice. That can apply to about any topic you want to learn :)