-
-
Notifications
You must be signed in to change notification settings - Fork 632
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support React-Hot-Loader v3 #772
Comments
@Judahmeek does the new hot loader require any changes to React on Rails? |
No, it does not. React on Rails already supports hot reloading with RHL 3 (Example). |
@Judahmeek This looks more like a doc than a code issue. |
We need to update https://github.com/shakacode/react_on_rails/blob/master/docs/additional-reading/hot-reloading-rails-development.md with what was done on #865 Any volunteers? |
I go for it :-), i want easy hot module replacement on my project. |
@EEtancelin I've changed the tag on this one to mark it as owned by you. Please get back to me soon to let me know of the progress and any questions. Definitely reach out to @Judahmeek with any questions as well, maybe in our Slack room for ShakaCode. |
Supporting hot loader changes is out of scope for React on Rails currently. |
Looks like React on Rails should allow this:
https://github.com/gaearon/react-hot-loader/tree/master/docs#migration-to-30
When we call ReactDOM.render, we could automatically create the AppContainer if a preference for hot relading is set.
Anybody want to try this and submit a PR?
The text was updated successfully, but these errors were encountered: