Skip to content

[Bug]: Using hmr in react does not work according to the official website #9562

Answered by chenjiahan
ustcfury asked this question in Q&A
Discussion options

You must be logged in to vote

The ReactRefreshPlugin will automatically inject the necessary hot update code, so you do not need to manually add module.hot.accept("./App") .

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ustcfury
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #9542 on March 05, 2025 08:03.