ReactJSXSprockets compiles your React JSX files in your Sprockets environment.
Add this line to your Gemfile:
gem 'react-jsx-sprockets'
And then execute:
$ bundle
- Fork it
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Added some feature') - Push to the branch (
git push origin my-new-feature) - Create new Pull Request