react-rails
react-rails copied to clipboard
Rails 7 support
Hi
I was wondering if there are any plans to upgrade react-rails
to rails 7.0
.
I would like to update my application to the newest version but I am stuck due to react-rails
dependency on 6.1.x
Kind regards Jens
My apologies, support has been merged into master, I'm currently trying to drum up additional maintainers to help ensure that releases are properly supported. If you use this at your work, can you please consider asking for open-source volunteer time to help support projects like this one? See also: https://github.com/reactjs/react-rails/issues/1129#issuecomment-1041476088
Does this gem work with Rails 7 and if so, can you update the README's instructions with info about Rails 7? It seems unclear to me whether it does and how to make it work if so.
@BookOfGreg what's a good test app to try this with Rails 7?
I posted this issue: https://github.com/BookOfGreg/react-rails-example-app/issues/57
Does this gem work with Rails 7 and if so, can you update the README's instructions with info about Rails 7? It seems unclear to me whether it does and how to make it work if so.
I have it working with Rails 7 & Webpacker. Following the instructions in the README for rails versions < 6.0 should also work with rails 7. If you don't want to be using Webpacker then I'm not sure but maybe this will help someone.
I had to replace:
## application.html.erb
<%= javascript_importmap_tags %>
with:
## application.html.erb
<%= javascript_pack_tag 'application' %>
@hdpuk86 If you can submit a PR, I'll promptly review and merge.
@hdpuk86, Can you please raise a PR for this?
+1
@justin808 Should I work on this?
I want to confirm if we need anything to do other than add instructions to the documentation.
was fixed a long time ago.