-
Notifications
You must be signed in to change notification settings - Fork 445
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
热重载在某些情况下会有问题 #38
Comments
react-router 这个错误,临时解决方法:修改文件
这样修改后会自动刷新整个页面。 |
我用的这个react-hot-loader版本比较老,是有些问题的,有些时候不会生效。。。 |
经过一段时间观察,好像不是 react-hot-loader 问题,猜测是由于缓存了造成热重载失效。 |
Closed
今天尝试改了下,在
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
热重载失效会有2种情况:
情况一
直接修改示例
test.dataSchema.js
后,无法载入内容,一直在 loading,控制台无错误。情况二
修改 schema 后,无法载入内容,控制台错误是
临时解决方法
在每次修改后手动刷新页面。
尝试解决
查看了 react-hot-loade 文档,好像说 router v3 异步route 支持不全,不知道是不是这个原因。
The text was updated successfully, but these errors were encountered: