ShakaCode | ShakaCode Blog | Rails On Maui Blog | Rails | ReactJs | JavaScript | Webpack | Productivity |

Using React on Rails Gem in Rails Engine


#1

I am having issues with using react on rails gem in a rails engine as the front end of the rails app. According to the documentation, I have done the needful, but the react component is not displaying.

I don’t know what I am doing wrong. I am ready to supply any code that can help me to resolve the issue.


#2

This has been fixed, it was an error on the engine namespacing and assets configuration.


#3

@mradeybee I seem to blocked at the same state. My assets seem to be loaded into the /spec/dummy/public/javascripts and /spec/dummy/public/stylesheets directory, however rails does not seem to be picking up the assets - I have checked the sources via web console. Could you share your solution to this?