-
Notifications
You must be signed in to change notification settings - Fork 800
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
[v3] Change in componentWillMount doesn't make a reload with lazy loading #490
Comments
I investigated this issue and it seems like it's caused by The problem is that once your component is loaded, Please try to follow lazy loading react guide on a webpack site (https://webpack.js.org/guides/lazy-load-react/) and let us know if it works for you. |
That code is so verbose... I'm sure it's work, but I don't want to use it. I got the point that I should call
You said:
Will this change in the future? |
Probably we should consider a case when some run-only-once method has a dependency on some other module that was hot updated and then provide a full reload for that component when async. |
Thanks for the |
All of this is outdated. I close it. |
Description
What you are reporting: bug
Expected behavior
lazy modules should update like usual modules
Actual behavior
they doesn't update
Environment
React Hot Loader v3
Run these commands in the project folder and fill in their results:
node -v
: v7.4.0npm -v
: 4.0.5Then, specify:
Reproducible Demo
https://github.com/mqklin/hot-loader-lazy-modules-bug
The text was updated successfully, but these errors were encountered: