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

fix: dynamic append element should support for the same container between micro apps #2825

Merged
merged 2 commits into from
Nov 22, 2023

Conversation

kuitos
Copy link
Member

@kuitos kuitos commented Nov 22, 2023

  • 当子应用使用的是同一个 container 时,需要通过 container 及 sandbox 实例做对比,从而减少不必要的重复 patch
  • 二次加载时过滤 prefetch、preload 的资源
  • remount 时仅 clone 外链样式,同时需要做样式是否已被加载过的判断,避免同一个外链 CSS 被加载多次
  • remount 时资源的 baseURI 也应该从 entry 计算得来

Copy link

changeset-bot bot commented Nov 22, 2023

🦋 Changeset detected

Latest commit: bae5051

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages
Name Type
@qiankunjs/loader Patch
qiankun Patch
@qiankunjs/sandbox Patch
@qiankunjs/shared Patch
@qiankunjs/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Nov 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
qiankun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2023 7:32am

@kuitos kuitos merged commit feb544f into next Nov 22, 2023
6 checks passed
@kuitos kuitos deleted the fix/dynamic-append branch November 22, 2023 07:54
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

Successfully merging this pull request may close these issues.

1 participant