fix(dev-overlay): report server errors after the pending webpack hot update is applied
In webpack dev, navigating to a route that isn't compiled yet triggers a
rebuild. Server errors for that navigation (e.g. instant validation errors
sent via HMR, or logs replayed while decoding the Flight response) could
reach the dev overlay before the client finished applying the hot update,
so the Fast Refresh at the end of the update cleared them again.
Wait for the pending webpack hot update before reporting them.
Co-authored-by:
Tobias Koppers <1365881+sokra@users.noreply.github.com>
Showing
Please
register
or
sign in
to comment