Chris and Birm fix a bug in a React website. Have a question or a topic you would like us to talk about then give a us a shout.
Today I Learned How to Create a React-Rails App
A working example can be found here in the Saturday MP Examples GitHub.
First thing you need to do is create a basic Rails app as outlined in my previous post. My setup is the same as creating Rails app: Ubuntu 18.04 LTS host using Docker to containerize my development environment.
Once your basic Rails app is up and running you can add React. This example uses React-Rails. First, you need to update the Docker file to install Node JS and Yarn. Open up the DockerFile and change it so it looks like the below.
[Read More]