-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
3.2-alpha: HMR broken #1506
Comments
It should remain optional |
Not providing the module breaks the HMR. But it should remain optional.. I am confused 😕 |
@ndelangen @igor-dv why optional? And if we want to keep it optional, can we at least print out a warning? Seems like a lot of people are getting bit by this, including us in our sample code! |
Right, so a single warning into the terminal and console sound fair to me, yes!
Providing the module enables HMR. If you don't provide the module HMR is not enabled, for whatever reason the users is choosing to. |
Is this something you want to do @igor-dv ? |
Yeah, I'll do it by the end of the week |
Cool, will close this then, will be released soon! |
why
Expanding on @usulpro 's comment. Do the following in branch
release/3.2
vs.master
(3.1.x):Then select one of the Button stories (not the Welcome story).
In a separate window, edit the you're looking at (e.g. change the button text).
Expected behavior (3.1.x):
Actual behavior (3.2-alpha):
Note: when switching between branches, you may need to clean out your node_modules. You can do this by running:
This deletes all files that are not part of the git repo, so be careful if you have files lying around!
what
The text was updated successfully, but these errors were encountered: