-
Notifications
You must be signed in to change notification settings - Fork 191
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
Performs full reload and state loss in case of error #839
Comments
Hi, I cannot help unless there's a reproduction of what's happening. Depending on how your modules and code is structured it may or may not fallback to a full reload to ensure consistency. |
Hi https://github.com/jaspal-dev/weather-app/blob/fix/react-refresh-issue/src/App.jsx If I change a counter to counter1 or anything else in the file, the changes are reflected in the web app, which is expected. But if I uncomment the code After fixing any error, the state should be mentioned. |
I am using the module version 0.5.13. In case if app found an error (eg. accessing undefined.a ), it looses it state and performs full reload. Is this behaviour is default then how to tackle this one, just like CRA handle it.
The text was updated successfully, but these errors were encountered: