Something went wrong while setting issue due date.
Runtime error overlay does not disappear when fixed with HMR
Closed
Runtime error overlay does not disappear when fixed with HMR
Created by: eirikurn
Is this a bug report?
Yes
Can you also reproduce the problem with npm 4.x?
Yes
Which terms did you search for in User Guide?
Hot module replacement. Error overlay.
Environment
-
node -v
: 8.1.4 -
npm -v
: 5.3.0 -
yarn --version
: 1.0.1 -
npm ls react-scripts
: 1.0.13
Then, specify:
- Operating system: macOS 10.12.6
- Browser and version (if relevant): Chrome 60
Steps to Reproduce
- Add hot module reloading by accepting hot changes in
src/index.js
which re-renders the React app. - Add a runtime exception in some React components. (
throw new Error()
). - Open app to see the error overlay.
- Fix the error in your React component.
- Wait for webpack to rebuild and look at the app.
Expected Behavior
The error overlay should disappear.
Actual Behavior
The error overlay stays in view. If I close the overlay, I can see the new state of the app, properly fixed.