Skip to content
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

模块热替换保存状态的问题 #8

Closed
mablevi opened this issue Jan 11, 2018 · 2 comments
Closed

模块热替换保存状态的问题 #8

mablevi opened this issue Jan 11, 2018 · 2 comments

Comments

@mablevi
Copy link

mablevi commented Jan 11, 2018

模块热替换保存状态的部分,按照您这边的教程写的,但是没有实现出来。
点击加号之后数字更新,这时候修改home.js文件,就会重新更新了。

@brickspert
Copy link
Owner

@mablevi 那段我已经写了注释了。确实是react-hot-loader现在之后,出问题了。可以自行解决下。。

  1. 先不用react-hot-loader。。。
  2. 不用按需加载。。。。

@mablevi
Copy link
Author

mablevi commented Jan 11, 2018

感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants