2. React basics: components, props and state

Lesson 2

React basics: components, props and state

Unlock this lesson

Create a free account, then buy the course to open every lesson.

What you will learn in this lesson

  • Make a React project with Vite.
  • Write a React component with JSX.
  • Pass data into a component with props.
  • Show a list of products with map.
  • Make a counter with useState.

90 minutes Lesson 2 of 28

Everything in Shopify App Developer

  • 28 step-by-step lessons
  • 3 mini projects with solutions
  • A final project for your portfolio
  • Real commands and real output in every lesson
  • Practice task with a solution in each lesson
  • Progress saved to your account