A Step by Step Guide to Building a Rails 5.2 App with Webpacker and React


After struggling for a while on how to integrate React with Rails while keeping them together, we tackled the problem using the webpacker gem. We also documented the process along the way with the hopes of helping others who may be trying to approach Rails/React.

We’re not react or webpack experts, and found that webpacker helped to alleviate the difficulty of getting things working together seamlessly.

There are currently 4 parts and few more in the works, and we welcome any feedback for improving the implementation.