You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 9, 2020. It is now read-only.
It can't hot reload changes to the initial state. Don't forget this property assignment is equivalent to setting the field inside the constructor. Even if you change the constructor, the field has already been set. Constructor doesn't run twice. So this is not supported.
Ahhh I thought this might be the case, out of curiosity would it be possible to unmount and remount the component to get this to work? I don't know enough about react yet to know whether or not this is possible.
Node: 5.3.0
presets: ["react", "es2015", "stage-0"],
Changing myMsg does not hotreload, mapping it to a variable outside the class does.
The text was updated successfully, but these errors were encountered: