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

questions under the micro-front-end architecture #622

Open
nyqykk opened this issue Mar 14, 2023 · 0 comments
Open

questions under the micro-front-end architecture #622

nyqykk opened this issue Mar 14, 2023 · 0 comments

Comments

@nyqykk
Copy link

nyqykk commented Mar 14, 2023

some micro-front-end framework may hack the script tag behaviour,it will be changed to use xhr or fetch to get the resource so that it can be put into the sandbox(eval),so the script tag will not be append to document actually.
the left code will cause error because the script instance just exist in memory,not in document,it's parentNode will be empty
image

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

1 participant