react_on_rails icon indicating copy to clipboard operation
react_on_rails copied to clipboard

Integration of React + Webpack + Rails + rails/webpacker including server-side rendering of React, enabling a better developer experience and faster client performance.

Results 55 react_on_rails issues
Sort by recently updated
recently updated
newest added

The current docs for react-router are outdated and incomplete: https://www.shakacode.com/react-on-rails/docs/javascript/react-router/ It would be great to update the following: - Update to use React router v7 - Update redux to use...

### Summary Support React On Rails w/Hotwire and Turbo Streams https://github.com/shakacode/react_on_rails/issues/1493, https://github.com/shakacode/react_on_rails/issues/1508 All turbo events (turbo:before-render, turbo:render,.. ) will not dispatch with TurboStream, except [turbo:before-stream-render](https://github.com/hotwired/turbo-rails/blob/main/app/assets/javascripts/turbo.js#L5071). And it looks like turbo-rails...

https://github.com/shakacode/react_on_rails/blob/master/docs/guides/file-system-based-automated-bundle-generation.md We need to include the instructions on the modification of bin/shakapacker and bin/shakapacker-dev-server.

```ruby ReactOnRails::PacksGenerator.instance.generate_packs_if_stale ``` Have this call create a lock file so it can't run concurrently. The lock file should expire within a short time. Here is how to do this:...

I am using `ReactOnRails.authenticityToken();` to get the CSRF token generated by `csrf_meta_tags`. The problem is that when I send first request, it works fine as the token is valid. Whenever...

discussion
documentation needed