Module Federation JavaScript libraries isolation #15283
nvladimirovi
started this conversation in
General
Replies: 1 comment 2 replies
-
maybe if both apps will use different global object, otherwise they have same runtime.. |
Beta Was this translation helpful? Give feedback.
2 replies
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.
-
In case two applications are using the same library but different versions this may pollute the global scope of the application and therefore one application may break the other. Is there a way to isolate the JavaScript scope of each individual application, in such a way that if application A's lib writes something in the window object application B's lib won't have access to it?
I don't have a concrete example but in general, it may happen.
Beta Was this translation helpful? Give feedback.
All reactions