Skip to content

Conversation

@NathanWalker
Copy link
Contributor

Improve the stability and correctness of Hot Module Replacement (HMR) and HTTP module loading.

HMR key normalization and stability

  • Introduced a new canonicalization routine for HMR keys in InitializeImportMetaHot, ensuring that per-module hot.data persists across HMR updates by stripping fragments, normalizing dev endpoint paths
  • Updated all HMR callback and data property registrations to use the canonicalized key, preventing issues where module updates would not propagate due to key mismatches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants