Open
Description
Sometimes the error overlay looks wonky if you manually refresh the browser.
For example in App.tsx
(note TypeScript) if you change line 3 to this (note the foo
):
import foo "./App.css";
The initial overlay looks as expected. But then hit F5 to manually refresh and it looks very different.
Doing the same steps in a normal create-react-app
project does not show the same behavior.
Everything is still running properly, i.e. saving a file will still cause the browser to refresh. Even if the newly saved page has another error, it causes the error overlay
to re-render properly. So this is really just a cosmetic bug.