Skip to content
This repository has been archived by the owner on Nov 17, 2022. It is now read-only.

提升 HMR 体验 #330

Open
ClarkXia opened this issue Jul 6, 2022 · 0 comments
Open

提升 HMR 体验 #330

ClarkXia opened this issue Jul 6, 2022 · 0 comments

Comments

@ClarkXia
Copy link
Collaborator

ClarkXia commented Jul 6, 2022

如果路由组件中配置 getConfig 则该路由组件的 HMR 将会失效,降级为 hot reload
原因是因为 getConfig 内容将会在应用启动入口被引入。期望 getConfig 能类似 getData 的处理作为独立的资源引入

方案

Writing

@ice-lab ice-lab locked and limited conversation to collaborators Nov 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant