How it works...

In this recipe, we have used Facebook's own create-react-app, a repository that has been starred almost 29,000 times on GitHub. At the time of writing this book, there were 1,060 commits on the project with 311 contributors.

We follow the Getting started guide up to the section that deals with Bootstrap integration. Unfortunately, it only caters for the integration with version 3 of the framework (which will stay that way until the official Bootstrap 4 release).

We easily went around that issue by integrating Bootstrap 4 components with the help of the excellent reactstrap npm package.

There are a lot of complexities that have been avoided in this recipe, in order to make it work without having to introduce too many unfamiliar ...

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.