MozillaFoundation / engineering-handbook

Mozilla Foundation's Engineering Handbook
https://mozillafoundation.github.io/engineering-handbook/
13 stars 11 forks source link

Discussion: What are the best "Learning React" resources? #48

Closed simonwex closed 3 years ago

Pomax commented 9 years ago

first and absolutely foremost: The React intro and tutorial on the react website itself.

If you turn off your IRC, twitters, facebooks, megaspaces and redditalls and just dedicate an hour of your life to simply open a terminal, open an editor, and follow the instructions, without going online to vent or ask questions until you're done (because most questions you have are answered after you got that question while doing the next step in the tutorials, and venting while you're doing something makes your brain establish that the thing you're venting about is shit. Hurray for cog.psy.) you already did about 85% of the work towards becoming fluent in React.

toolness commented 9 years ago

Regarding not going online to vent etc, I found the blog post linked-to from one of the official docs/blogs, Give it five minutes, to be quite helpful. Specifically when asked to use JSX, which triggered me in various ways. :) I gave it five minutes and then a little more and then I fell in love with it.

toolness commented 9 years ago

I agree that the React intro and tutorial are really well-written, and also help convey the whole philosophy behind React--they are also great at communicating some optional best practices, like the use of PureRenderMixin whenever possible.

Until it becomes part of the official react docs, I also recommend reading Introduction to contexts in React.js after the intro, tutorial, and a bit of real-world React experience. Contexts are currently unstable in React, and therefore undocumented, but they're planned for 1.0 and react-router uses them, as well as a few parts of the Teach site.