-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Full reload of current page because of HMR during navigation to another one #4643
Comments
Please provide a full reproduction, preferably a minimal app in a GitHub repository. It's impossible to debug this without it 🙏 |
I'm seeing this as well and it's even more frustrating as it doesn't actually list any modules, just says "undefined" like so: [HMR] The following modules couldn't be hot updated: (Full reload needed)
This is usually because the modules which have changed (and their parents) do not know how to hot reload themselves. See https://webpack.js.org/concepts/hot-module-replacement/ for more details.
[HMR] - undefined
[HMR] Reloading page Trying to build up a standalone repro case to narrow it down, but haven't been able to so far. Working on it. |
I was able to reproduce my case above once I added the with-polyfills example code. After removing everything else from my code, the method recommended in the |
@timneutkens there is small issue that seems related: During development this doesn't seem to be an issue, but if i want to run my tests in Cypress it becomes a problem. |
Bug report
Describe the bug
Navigation to another page that not yet built the full page reload invoked because of HMR with messages like:
This messages are about dependencies of current page, not the one i tried to navigate. For sure this files wasn't changed.
My setup is a little bit unusual:
page.ts|tsx
Expected behavior
It should not refresh current page since nothing was changed.
System information
The text was updated successfully, but these errors were encountered: