[Bug]: Using hmr in react does not work according to the official website #9562
-
System InfoSystem: Details按照官网的写法,plugin中添加 new ReactRefreshPlugin()、new rspack.HotModuleReplacementPlugin() Reproduce linkhttps://github.com/ustcfury/rspack-cra Reproduce Steps
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The ReactRefreshPlugin will automatically inject the necessary hot update code, so you do not need to manually add |
Beta Was this translation helpful? Give feedback.
The ReactRefreshPlugin will automatically inject the necessary hot update code, so you do not need to manually add
module.hot.accept("./App")
.