React is a library for building performant interfaces for the web and other platforms.
You should use this guide as a companion to the official Facebook documentation for getting started
. While the official docs are great, the React ecosystem includes many
other important projects which are outside the scope of the React docs.
I hope you enjoy learning React. Reach out to me, @dvnabbott
, with comments or questions you have along the way. Some pages are written by other authors (listed at top of each page), so feel free to contact them too. Huge thanks to Gabe G'Sell
for writing content with me and proofreading.
PS: I recommend viewing this guide from a desktop browser rather than mobile, since the desktop version supports interactive examples.
When you write your first React app, you might start with something like this.
The first thing we'll cover is how to set up an environment and build a React app.
In the following sections, I'll give a brief background on build tools: npm, webpack, babel, etc. If you're already familiar with each, skip to React API
to learn more about the top-level React API.