News for hackers. Stuff that matters.
Re:Learning React? Start small by rublev on Wednesday June 21, 2017 @01:51PM (#14606206)
Learning React and ES6/ES7 at the same time? Invest in a gun ahead of time and keep it relatively close by.
Re:Learning React? Start small by copperx on Thursday June 22, 2017 @03:29AM (#14610691)
It isn't that bad. One can be productive without getting into the minutiae of ES6.
Re:Learning React? Start small by holydude on Thursday June 22, 2017 @06:28AM (#14611217)
What kind of minutiae of ES6 you mean ?
Re:Learning React? Start small by sooheon on Thursday June 22, 2017 @08:42PM (#14616391)
Or learn React through Cljs and forget worrying about most syntax ever again!
Re:Learning React? Start small by londondev45 on Wednesday June 21, 2017 @04:43PM (#14607743)
Learn ES6 first, it will make learning the framework very easy. Otherwise you will never know the vanilla JavaScript from the React / JSX syntax.
Re:Learning React? Start small by dceddia on Wednesday June 21, 2017 @05:07PM (#14607986)
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.
Re:Learning React? Start small by harrypujols on Wednesday June 21, 2017 @08:05PM (#14609116)
Start small, with a Vuejs project, and put away React.
Re:Learning React? Start small by copperx on Wednesday June 21, 2017 @08:19PM (#14609166)
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.

Re:Learning React? Start small by graphememes on Wednesday June 21, 2017 @10:46PM (#14609781)
Interesting, found the opposite.

Every single React component doesn't work, or is behind in terms of development. Poor documentation.

Vue on the other hand, documentation is in at least two languages, works, is up to date, and the community is always responsive.

Re:Learning React? Start small by sayurichick on Thursday June 22, 2017 @11:57AM (#14613128)
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.

Re:Learning React? Start small by hfourm on Thursday June 22, 2017 @11:58AM (#14613138)
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.

Re:Learning React? Start small by Xoros on Thursday June 22, 2017 @12:07AM (#14610062)
Well that's a good advice. That can apply to about any topic you want to learn :)