What is React?
React is a library for building user interfaces for the web and other platforms. This guide covers the fundamental aspects of React needed to build great web apps. If you're more interested in building mobile apps, consider checking out React Native Express instead.
How to use this guide
You should use this guide as a companion to the official Facebook documentation for getting started. While the official docs are great, this guide focuses on smaller, interactive examples to illustrate React concepts. Additionally, this guide covers important tools and projects in the React ecosystem which are outside the scope of the React docs.
The interactive examples in this guide work better on desktop than mobile.
When you write your first React app, you might start with something like this.
Let's get started!
The first thing we'll cover is how to set up a new React app on your computer. If you don't want to set up an app on your computer, skip to the React section to learn more about the React API.