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

同一个子应用被快速加载多次,应用会 append 住 #2888

Open
bravepg opened this issue Jan 19, 2024 · 1 comment
Open

同一个子应用被快速加载多次,应用会 append 住 #2888

bravepg opened this issue Jan 19, 2024 · 1 comment

Comments

@bravepg
Copy link
Contributor

bravepg commented Jan 19, 2024

What happens?

同一个子应用被快速加载多次,前一个 dom 节点会被卸载。如果有依赖 dom 节点的 promise 操作(比如说挂载 css 到 dom 上),应用就会 append。

处理建议

在 qiankun 里针对这种情况增加 warning。

相关环境信息

  • qiankun 版本 2.10.16
  • 浏览器版本:chrome 最新版
  • 操作系统:macos
@peterlevel1
Copy link
Contributor

问题:同一个子应用被快速加载多次,想问下这个场景是啥样的?

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