Skip to Content
Beginning React
book

Beginning React

by Andrea Chiarelli
July 2018
Beginner
96 pages
2h 8m
English
Packt Publishing
Content preview from Beginning React

Building Our First React Component

The following steps open the existing project, my-shop-01, in order to show the result of the previous code changes:

  1. Open a console window
  2. Move to the my-shop-1 folder
  3. Run npm install
  4. Run npm start

The following is an example of what we will see in a browser window:

We have built our first React component, and we can see it in action!

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Test-Driven React

Test-Driven React

Trevor Burnham
Pro React 16

Pro React 16

Adam Freeman

Publisher Resources

ISBN: 9781789530520Supplemental Content