fix(Rspack): resolve HMR unresponsiveness or unexpected full reload & update dev snapshot (#83480)
This commit addresses the bugs where Hot Module Replacement (HMR) was not functioning correctly in Rspack mode. Component edits would often result in no update or a full page reload instead of a fast, state-preserving refresh. This commit implements a new, custom React Refresh plugin and runtime specifically for Rspack, which correctly orchestrates the HMR lifecycle.
Showing
| ... | @@ -124,7 +124,6 @@ | ... | @@ -124,7 +124,6 @@ |
| "@opentelemetry/api": "1.4.1", | "@opentelemetry/api": "1.4.1", | ||
| "@picocss/pico": "1.5.10", | "@picocss/pico": "1.5.10", | ||
| "@rspack/core": "1.5.0", | "@rspack/core": "1.5.0", | ||
| "@rspack/plugin-react-refresh": "1.2.0", | |||
| "@slack/web-api": "7.9.1", | "@slack/web-api": "7.9.1", | ||
| "@swc/cli": "0.1.55", | "@swc/cli": "0.1.55", | ||
| "@swc/core": "1.11.24", | "@swc/core": "1.11.24", | ||
| ... | ... |
Please
register
or
sign in
to comment