How to convert from react-rails to react_on_rails

Let’s list out the steps required to convert from react-rails to react_on_rails.

  1. Move JS files from /app/assets/javascripts to /client/app/.
  2. After doing that, see configuration of how to export these react component. First you’ll need to add export statements to those files.