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

Stack overflow when hotifying class twice #52

Closed
gaearon opened this issue Dec 31, 2014 · 1 comment
Closed

Stack overflow when hotifying class twice #52

gaearon opened this issue Dec 31, 2014 · 1 comment

Comments

@gaearon
Copy link
Owner

gaearon commented Dec 31, 2014

Say I have A.js that looks like this:

module.exports = require('./B');

This will currently cause stack overflow in hot loader when changing B because it tries to hotify the same module twice, and uses patched version as source of truth.

@gaearon
Copy link
Owner Author

gaearon commented Dec 31, 2014

Fixed via 15f3034 (gaearon/react-hot-api@148c5ab).

Published on NPM as 1.0.5.

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