You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use case where I want to shared Singleton instance across Microfrontend with following condition:
First Micro frontend created in Vanilla JS
Other Micro frontend created in React JS
which ever load first initializes the instance of my JS script and other while loading just uses it.
I was looking forward to use UMD but couldn't work it out without attaching initialised instance to window object. But I don't want to expose it at global variable level.