-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
局部热更新,组建重复问题 #10
Comments
手动刷新后,可以恢复。但是局部热更新,依旧导致局部内容重复。 |
@tyzero 可以重现有这个问题 我去查查怎样解决 |
我也遇到这个问题 |
这个问题怎么解决啊,我也遇到了 |
用这个吧, https://github.com/gaearon/react-hot-loader/ |
确实我也遇到了同样的问题 |
git上的代码下载下来也会有这个问题,还是没解决 |
还是没人解决吗 |
发现只在index.jsx中修改触发的组件刷新才会重复,其它组件的修改不会出现重复 |
各位 我更新了最新版的 react hot loader v3代替了 原来的react-hmr https://github.com/vikingmute/webpack-react-kit 可以试试 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
用了npm install babel-preset-react-hmre --save-dev 后,局部热更新确实可以了,
但是每修改一次,render的内容就好重复一次。。。
假如修改了3次,界面大概是这样子的:
Search Github User testtesttest
Search Github User testtesttest
Search Github User testtesttest
The text was updated successfully, but these errors were encountered: