@justin Thank you for replying. I am using the gem in a rails engine. We had to do some adjustments so as to make the react components accessible by the rails app in the first place.
in the engine’s assets.rb:
- We changed this line
Rails.application.config.assets.paths << Rails.root.join('app', 'assets', 'webpack') to
in react_on_rails.rb :
We changed this
We also changed
config.server_bundle_js_file = "webpack-bundle.js" to
config.server_bundle_js_file = %w( webpack-bundle.js )
And I followed every step in this post.
Could any of the adjustments be responsible for not getting the props?