react-rails
react-rails copied to clipboard
Integrate React.js with Rails views and controllers, the asset pipeline, or webpacker.
I started a clean project using: ``` $ bundle install $ rails webpacker:install $ rails webpacker:install:react $ rails generate react:install $ rails g react:component HelloWorld greeting:string ``` Then I added...
Polyfill loadable-stats
I have some components, that should not be unmounted during their "presence" on the page, but should be unmounted if next page doesn't have them. How it can be done?
- [x] I have another issue to discuss. ------- In #409 we allowed an opt-in config to change from snake_case to camelCase. In #556 we exposed the function externally incase...
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. -...
### Summary Webpack-dev-server
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. -...
### Steps to reproduce Require isomorphic-fetch or node-fetch on server_rendering.js ### Expected behavior Fetch should work, and it should finish the request (and callback) before generating the html for the...
### Steps to reproduce 1. Follow react-rails install instructions. 2. Start in foreground: `rails s`, confirm that webpack (re)compilation works 3. Start in background: `rails s -d`, confirm that webpack...
Maybe i'm missing something obvious. I write some .jsx files.. ``` class MyComponent extends React.Component { _someMethod() { } } ``` with webpack and other tools.. I can see "this"...