Adding Our First Component
Using React for concert seats
Let’s take a moment to discuss what we’ll be doing with React. The concert display page was 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 which seat they want to purchase at the particular concert being displayed.
Right now, it’s a grid of squares in an HTML table: