react-rails icon indicating copy to clipboard operation
react-rails copied to clipboard

Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.

Results 126 react-rails issues
Sort by recently updated
recently updated
newest added

Rails 7 seems to be moving away from webpack(er), with multiple options to bundle JS with the new [`js-bundling`](https://github.com/rails/jsbundling-rails) gem (e.g. with ESbuild etc.). As such, in order to future...

Would it make any sense to consider merging react-rails and react_on_rails? A long time ago, Merb merged with Rails: * https://yehudakatz.com/2008/12/23/rails-and-merb-merge/ * https://rubyonrails.org/2008/12/23/merb-gets-merged-into-rails-3 # Data Points 1. The core API...

Can you please provide the steps to enable concurrent mode and createRoot? https://reactjs.org/docs/concurrent-mode-reference.html To enable concurrent mode you typically do this - ``` ReactDOM.createRoot(rootNode).render(); ``` How do I do this...

(I'd originally mentioned this in https://github.com/reactjs/react-rails/issues/1028, but since that's closed I wanted to open an issue for it to get some extra visibility) ### Steps to reproduce * Write a...

enhancement

I have been attempting to perform server-side rendering of `mui` (formerly material-ui) components and have been getting issues similar to #193. The precise error I am getting is ``` ActionView::Template::Error...

Help us help you! Have you looked for similar issues? Do you have reproduction steps? [Contributing Guide](CONTRIBUTING.md#reporting-bugs) ### System configuration **Sprockets version**: ~> 4.0.3 **React-Rails version**: 2.6.2 **Rect_UJS version**: **Rails...

### Steps to reproduce -Setup react rails (webpacker) in a rails project. -Access a page with component - Make a change in the component - Reload the page - Notice...

### Steps to reproduce If we just comment out `gem 'react-rails'` and `bundle install`, the test fails with the view unable to access a Rails helper method. ``` $ git...

We're using Webpack via (jsbundling-rails: https://github.com/rails/jsbundling-rails) to build our JavaScript. In our `application.js` we have the following: ``` // Tell Webpack where to load the components for ReactUJS const ReactRailsUJS...

I'm moving some of our `` code into JavaScript. Is it possible to server side render (SSR) a component on the SSR only without a tag. I'd like to render...