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
React refresh - hooks issue #399
Comments
Hi, can you provide a reproduction? It's very hard for me to debug without anything to test. |
I meet the same problem, you can try this example: https://github.com/njzydark/chrome-extension-boilerplate
Then loading extension from chrome and add a hook in options page https://github.com/njzydark/chrome-extension-boilerplate/blob/main/src/options/app.tsx, you can get the same error I try |
I am using react-refresh-webpack-plugin and hot reload is not working when I change the component by adding/removing a useEffect.
react-refresh (0. 9. 0)
react-refresh-webpack-plugin (0.4.3)
react (16.13.0)
I am attaching the error message. I have also tried with react-refresh(0.10.0) and react-refresh-webpack-plugin beta version(0.5.0-beta.8) and I get the same error.
The text was updated successfully, but these errors were encountered: