-
Notifications
You must be signed in to change notification settings - Fork 801
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
Components "render()" not triggered after HMR #959
Comments
Just find out that the problem is in order of component "decorators". |
Your initial code I the "right" code, but This sounds like #944, the issue I still could not trace down. |
Do I need to import |
@akhayoon - yeah. This is how RHL should work. This is how it works for me, or for tests. |
4.5.2 contains a serious "WFT-level" bug. Please use at least 4.5.3 |
Description
Components (both class based and functional) render function is not triggered after HMR.
So no updates applied to UI.
If I force component to re-render - changes become visible.
Components are decorated with
hot(module)(Component)
andconnect()
from Redux.Browser console log lines as expected.
Console output:
Expected behavior
Component must be re-rendered.
Actual behavior
Component doesnt re-render.
Environment
React Hot Loader version: 4.1.2
node -v
: 9.11.1npm -v
: 5.6.0Operating system: Windows 10 x64
Browser and version: Chrome 66, FF 59
Thanx in advance!
The text was updated successfully, but these errors were encountered: