mirror of
https://github.com/vercel/next.js.git
synced 2026-09-20 02:25:18 +08:00
d820350579
## Summary When two Next.js microfrontend child applications run in development mode at the same time, their HMR clients conflict because they share the same global chunk-update listener registry. Since turbopack added support for the chunkloadingglobal configuration, I think this configuration can also consume HMR's global object simultaneously: PR: https://github.com/vercel/next.js/pull/88790 and https://github.com/vercel/next.js/pull/93488 This change scopes the listener registry to each runtime chunk-loading global so the applications can receive HMR updates independently. ## Test Update snapshot test case