The react_on_rails
gem has been installed. You can view the documentation online at
React on Rails.
Also, check out the example application for a live example and code.
The "Hello World" example has been installed.
- The view is located at
app/views/hello_world/index.html.erb
- The controller is located at
app/controllers/hello_world_controller.rb
See the documentation for how to build your bundles and install your packages. Then you can view the example as follows:
- Rails Server: localhost:3000/hello_world
- Webpack Development Server with HMR: localhost:4000/hello_world