Sorry for the slightly generic question. I am working on a Ruby on Rails and React.js based app using the react_rails
gem and have reached a point where I need the ability to require modules across JS files.
I have tried every example I can find but seem to constantly have problems integrating things in a way that will allow module.exports = 'XXXXX'
.
I was wondering if anyone can point me in the direction of a solid working example or can explain the best way to allow this using the react_rails
gem?