Skip to content
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

React Hot Loader unmounts form component #2826

Closed
lucian-tanase opened this issue Apr 19, 2017 · 4 comments · Fixed by #3506
Closed

React Hot Loader unmounts form component #2826

lucian-tanase opened this issue Apr 19, 2017 · 4 comments · Fixed by #3506

Comments

@lucian-tanase
Copy link

Hi, I have a problem with redux-form 6.6.3 and react-hot-loader 3.0.0-beta.6. When live editing a reduxForm component, the component unmounts losing form state. I know there is destroyOnUnmount: false option, but in my case I don't want to use that.

I have setup a project where this can be replicated: https://github.com/lucian-tanase/redux-form-hot-loader. Whenever render method of src/Form.js component is edited, the redux form loses its state.

@mojo5000
Copy link

mojo5000 commented Apr 29, 2017

This has been driving me nuts too.

See: #623

@lucian-tanase - were you able to find a solution?

@gustavohenke
Copy link
Collaborator

I'm closing this one as a duplicate of #623 and #3005.

@erikras
Copy link
Member

erikras commented Oct 25, 2017

Fix published in v7.1.2.

@lock
Copy link

lock bot commented Oct 25, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Oct 25, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants