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

### Steps to reproduce 1. Clone this repo: https://github.com/paul-mesnilgrente/shakapacker-with-react-rails 2. `yarn` and `bundle install` 3. `bin/rails server` and `bin/webpacker-dev-server` 4. Go to localhost:3000 and see the error ### Expected behavior...

In React 18, `createRoot` and `hydrateRoot` are in `react-dom/client`. This PR uses this new API and provides backwards compatibility for React 16/17.

enhancement

As brought up in #1198, we probably shouldn't support all versions of webpacker/shakapacker. Should we require a recent version of Shakapacker? This would be much easier to support. Does anybody...

Help us help you! Have you looked for similar issues? Do you have reproduction steps? [Contributing Guide](CONTRIBUTING.md#reporting-bugs) ### Steps to reproduce (Guidelines for creating a bug report are [available here](../CONTRIBUTING.md#reporting-bugs))...

1. Webpack needs to be updated. 2. react_ujs should be removed as a dependency (circular) ``` "devDependencies": { "webpack": "^2.3.3" }, "dependencies": { "react_ujs": "^2.6.1" } ```

### Steps to reproduce While migrating from react-on-rails to react-rails, I have transferred the same folder structure in App/Javascript While other configurations are okay, and web pack is successfully compiled...

discussion

### Steps to reproduce N/A ### Expected behavior N/A ### Actual behavior N/A ### System configuration **Sprockets or Webpacker version**: N/A **React-Rails version**: 2.4.3 **Rect_UJS version**: 2.4.3 **Rails version**: 4.2.8...

enhancement
good first issue

### Steps to reproduce React v5 with latest version of react-rails and using webpacker to compile assets (loaded through `javascript_pack_tag` and `react_component`) Install [react-router v4](https://github.com/ReactTraining/react-router): `yarn add react-router` Attempt to...

``` $ bundle exec appraisal rake test 2>&1 | grep -i deprecation DEPRECATION WARNING: `secrets.secret_token` is deprecated in favor of `secret_key_base` and will be removed in Rails 6.0. (called from...

How do I use `TestUtils` with `react-rails` v2.4? As far as I see `TestUtils` are no longer bundled in `ReactAddons` (removed from `react-rails`), but are available in `ReactDOM`. React manual...

reproduction steps needed
discussion