We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This issue is transported from ice-lab/ice-next#103
页面组件除了 export default XXXComponent;,还有 export getInitialData 和 export getPageConfig 时,HMR 会失效,直接重新加载了。
export default XXXComponent;
export getInitialData
export getPageConfig
对于 页面组件只包含 export default XXXComponent;,HMR 是正常的。
The text was updated successfully, but these errors were encountered:
add ice-lab/ice-next#330
如果路由组件中配置 pageConfig 则该路由组件的 HMR 将会失效,降级为 hot reload 原因是因为 pageConfig 内容将会在应用启动入口被引入。期望 pageConfig 能类似 dataLoader 的处理作为独立的资源引入
Sorry, something went wrong.
luhc228
No branches or pull requests
页面组件除了
export default XXXComponent;
,还有export getInitialData
和export getPageConfig
时,HMR 会失效,直接重新加载了。对于 页面组件只包含
export default XXXComponent;
,HMR 是正常的。The text was updated successfully, but these errors were encountered: