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

### Expected behavior I fetched data from client-side like below when I use react-router, but source code has nothing. ```js useEffect(() => { fetch(`v1/things.json`) .then(response => response.json()) .then(json => {...

Help us help you! Please choose one: - [ ] My app crashes with `react-rails`, so I've included the stack trace and the exact steps which make it crash. -...

enhancement
good first issue
help wanted

I used react-rails in my main app but some of my rails engine need to use react as well. Do we have any way to use react-rails inside rails engines?...

help wanted
discussion

In react_ujs.js /***/ (function(module, exports, __webpack_require__) { var React = __webpack_require__(3) var ReactDOM = __webpack_require__(4) var ReactDOMServer = __webpack_require__(5) ReactDOM comes up undefined. Searching the code for symbol __WEBPACK_EXTERNAL_MODULE_4__ shows...

reproduction steps needed

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...

bug
Hacktoberfest

I'm sorry to post an issue that is missing crucial evidence, but some debugging of a recent config loading bug makes me suspect that the react-rails `railtie.rb` may be modifying...

good first issue
reproduction steps needed

### Steps to reproduce I have a component that has a `componentDidMount` like so: ``` public async componentDidMount() { const [Foo, Bar] = await Promise.all([ import(/* webpackChunkName: "stuff" */ 'foo'),...

#355 # Steps to reproduce Create 2 or more partials that contains in last partial one react component that is into a form. Partial 1 > Partial 2 > Form...

### Steps to reproduce The current syntax for react_component doesnt let you specify context. ### Expected behavior To be able to pass an object that would act as the context...

discussion

### Expected behavior It should server-side render an App and dynamically import jsx/js ### Actual behavior It tells that `window is not defined` ### System configuration **Sprockets or Webpacker version**:...

invalid