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

Does react-rails support the latest version of Shakapacker/Webpacker (v6)? Thanks.

### Steps to reproduce Here is an example set up of the files: __Procfile.dev__ ``` web: DB_CONNECTION_POOL=${WEB_DB_CONN_POOL:-5} bundle exec puma -C config/puma.rb worker: DB_CONNECTION_POOL=${SIDEKIQ_DB_CONN_POOL:-5} MALLOC_ARENA_MAX=2 bundle exec sidekiq -C config/sidekiq.yml...

### Steps to reproduce Trying to use `react_component` where a page has 2 pack tags loaded. example .html.erb file ``` ``` Resulting error ``` 1. fromRequireContextWithGlobalFallback.js:19 Error: Cannot find module...

bug
help wanted
Hacktoberfest

Hey all, Like many others, I've been experimenting with Turbo and Turbo Frames. We have a large set of one-off React components we like to sprinkle into our templates using...

I'm running an old project with ruby 2.1.5 and rails 3.2.13 and cannot be upgraded Trying to install old versions of react-rails and webpacker but I can't make it work....

## Issue The next version of Turbolinks, now called Turbo (available for Rails via [turbo-rails](https://github.com/hotwired/turbo-rails)), is in beta and `react-rails` should be updated to be compatible. The new interface is...

enhancement

react-rails can not re-render provider new state in children, also can not work with useContext in react [Contributing Guide](CONTRIBUTING.md#reporting-bugs) ### Steps to reproduce `` Test.js ```javascript import React from 'react';...

good first issue
help wanted

### Summary WIP Updating to get the tests working and updated for new versions of Ruby and Rails. ### Other Information * Update `mimemagic` in `Gemfile.lock`. The currently linked version...

enhancement

I want to use this lib with [react-loadable](https://github.com/jamiebuilds/react-loadable) with SSR. An example given in react-loadable using Express. ``` const app = express(); app.get('/', (req, res) => { res.send(` ... ${ReactDOMServer.renderToString()}...

### Steps to reproduce * Upgrade to webpack and webpacker 4, react-rails and react_ujs 2.5.0 * Run local dev server and try to render a page with SSR components ###...

reproduction steps needed