-
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
material-ui hot reloading broken #1412
material-ui hot reloading broken #1412
Comments
Little bit of background: function Component() {
function useRippleHandler() {}
useRippleHandler();
useRippleHandler();
} maybe that is causing an issue? |
Yes, that would cause the issue, however it's expected to be fixed ages ago. |
Look like "the fix" was implemented a bit different in RHL and Fresh. I'll backport tests to ensume RHL is working correctly |
I was not able to reproduce this bug in "real" - all my examples do not refer to the "inner" hooks, however I've managed to get a clear failure within a test, prove that applied fix works.
|
@theKashey Awesome, this fixed the issue and the error has disappeared. I had to wipe out the complete Anyways, it works now (tested with this repo). Thanks so much. |
Ping me a few months earlier next time 🤓, it was supposed to be fixed past winter. |
Using
material-ui
withreact-hot-loader
is broken when usingmaterial
components that use the ripple effect likeButton
.This is rendering
material-ui
pretty much useless for us at the moment since hot reloading is a must in most places.See responses here
Current Behavior 😯
When
hot reloading
the console throws an error:Expected Behavior 🤔
There should be no error in the console when
hot reloading
Steps to Reproduce 🕹
Your Environment 🌎
The text was updated successfully, but these errors were encountered: