Adding Our First Component
Learn how to add a component using React in this lesson.
We'll cover the following
Using React for concert seats
Let’s take a second and talk about how we’ll use React to do what we want to. The concert page was quietly part of our original Rails app, but we haven’t looked at it closely yet. It currently has a grid of seats that we’d like to use to allow people to select what seats they want to purchase at a particular concert.
Right now, it’s just a grid of squares in an HTML table:
Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy