Search⌘ K
AI Features

Installing React

Explore the process of installing React in a Rails application using Webpacker. Learn to configure TypeScript for React, add type definitions, and set up ESLint to maintain consistent code style. This lesson helps you build interactive pages combining Rails with React seamlessly.

We'll cover the following...

We’re going to use React to build up the individual pages for each concert. These pages will contain a seating diagram and will allow you to put together a ticket order.

Now, normally, we wouldn’t use Stimulus and React in the same app—we’d pick one or the other and stick with that choice—but it’s far from the most ridiculous thing we’ve ever done in an app, and we decided that keeping them together would be less ...