-
Notifications
You must be signed in to change notification settings - Fork 1.2k
[HMR] lifecycle and hot module reload #565
Comments
Do you mind to create a minimized repo to reproduce your issue? It's will let other people fix it more easily. |
@wuct Hi. I've created repo to reproduce this bug. Here is steps how to reproduce:
I like your library very much but currently I can't use lifecycle method and It would be great if lifecycle method doesn't break HMR work. Thanks in advance. |
In addition. I've just noticed that such error happens when I use more than 1 function in
Without HMR everything works perfect. Maybe there is some advanced way how to enforce HMR works with this functions. |
I'm getting a similar error with react hot loader, and webpack tells me the culprit is recompose's Error Message:
Source:
|
Thanks for the repository and sorry for the late reply. I'll find some time to look into it. |
@wuct Did you? |
Hi guys. HMR works with errors in case I add
lifecycle
hoc to my container.It can't save component's state but works for redux store.
I see such error in console
component code
HMR works and redux store is saved during reload but component's state is lost.
The text was updated successfully, but these errors were encountered: