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(loader): we should invoke our script load listener before its own #2768

Merged
merged 2 commits into from
Oct 30, 2023

Conversation

kuitos
Copy link
Member

@kuitos kuitos commented Oct 29, 2023

  • Use the onload/onerror approach to listen to script events in order to follow the writable-dom.
  • Our script load listener should be invoked before the script's own listener, as the listener might append another script, thus causing our entry to be fired delayed.

@changeset-bot
Copy link

changeset-bot bot commented Oct 29, 2023

🦋 Changeset detected

Latest commit: c79d0fd

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

This PR includes changesets to release 3 packages
Name Type
@qiankunjs/loader Patch
qiankun 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

@vercel
Copy link

vercel bot commented Oct 29, 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 Oct 29, 2023 10:31am

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