Getting ready

To preview the completed recipe, go to chapter12/complete/recipe1 and open the index.html file in your browser. In order to get to this finished result, we need to use the create-react-app repository.

Navigate to https://github.com/facebookincubator/create-react-app. The reason to use this repository is simple, as explained in the repository description: Create React apps with no build configuration. Working with React this way removes a layout of complexity, which allows us to achieve the goal of using Bootstrap 4 with this framework that much simpler.

Go to the Getting Started section at https://github.com/facebookincubator/create-react-app#getting-started.

Note that most of the code in this recipe is compiled from these sources: ...

Get Bootstrap 4 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.