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

Persist injected component state across Hot Module Reloads #3

Closed
sleexyz opened this issue Sep 17, 2015 · 1 comment
Closed

Persist injected component state across Hot Module Reloads #3

sleexyz opened this issue Sep 17, 2015 · 1 comment

Comments

@sleexyz
Copy link
Owner

sleexyz commented Sep 17, 2015

I thought React.render was idempotent. So calling React.render(ReactClass, DOMNode) twice in a row will be a noop. I was intending to exploit this to persist injected component states and at the sametime re-render all the text.

Either it is, or I'm calling with different args. I think It is the later case.

@sleexyz
Copy link
Owner Author

sleexyz commented Sep 18, 2015

Implemented/solved with 7c23e56

@sleexyz sleexyz closed this as completed Sep 18, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant