2 Baby steps with React

This chapter covers

  • Creating a new React project
  • Nesting elements
  • Creating a component class
  • Working with properties

This chapter will teach you how to create a new React project and how to create custom components to render HTML. Both of these concepts will serve as the basis for all future chapters.

First, we’ll examine how to create a new React project. While doing so, we’ll teach you both how to start your own React projects and how to utilize the React template system to quickly instantiate the examples and projects that we’ll work on in this book. It’s quite magical how in a single line you can get the code downloaded and ready to go with everything set up for you!

As we start our first React project, we’ll introduce ...

Get React Quickly, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.