Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[HMR] Edit files will cause full page reload. #2972
Is this a bug report?
Can you also reproduce the problem with npm 4.x?
Which terms did you search for in User Guide?
(Write your answer here if relevant.)
Steps to Reproduce
(Write your steps here:)
Only specific area will change.
Full page reload
(Paste the link to an example project and exact instructions to reproduce the issue.)
webpack2 doesn't seem to have such issue.
This is not a bug but expected.
We may implement hot reloading of React components in the future (there is a pending PR) but we haven't had time to finish it yet.
You can use
For those who are using with Typescript and has error
add this line in