How do I use the createScript hook to retry resource loading? #2877
Unanswered
ruofengOvO
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
https://module-federation.io/plugin/dev/index.html#createscript This is the address of Hook, I wrote a demo here. However, the return here may involve some timing issues. JS resources are returned without triggering onerror or onload. Is there any good idea?
Now:
expect:
Beta Was this translation helpful? Give feedback.
All reactions