rspack
rspack copied to clipboard
[Bug Report]: HMR breaks when modifying React context provider
System Info
OS: Windows 11 CPU: (20) x64 12th Gen Intel(R) Core(TM) i7-12700 Memory: 17.51 GB / 31.72 GB Node: 18.14.2
Details
HMR breaks when modifying React context provider Related:https://github.com/vitejs/vite/issues/3301
Reproduce link
https://github.com/kl-nevermore/rspack-hmr-repo.git
Reproduce Steps
- pnpm i
- npm run dev