Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race with hot-reloader-client clearing overlay errors (vercel#71771)
This `resolvePendingHotUpdate` in the `SERVER_COMPONENT_CHANGES` event seems to be causing a race where an error would come through in a fast refresh response and then the overlay would be cleared. I'm not really sure why we were resolving a pending hot update here because we already call it on `handleSuccessfulHotUpdateWebpack` and `tryApplyUpdate` but I'm consistently seeing correct behavior without this.
- Loading branch information