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
Can anyone break down shareScope in more depth? I’ve noticed that it can be set in three different places —
ModuleFederationPluginOptions.shareScope
RemotesConfig.shareScope
SharedConfig.shareScope
The documentation simply says the default value is "default", but not why you’d ever change it.
Under what circumstances would you use a share scope name other than "default"? What practical scenarios actually require defining multiple share scopes?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Can anyone break down shareScope in more depth? I’ve noticed that it can be set in three different places —
ModuleFederationPluginOptions.shareScopeRemotesConfig.shareScopeSharedConfig.shareScopeThe documentation simply says the default value is
"default", but not why you’d ever change it.Under what circumstances would you use a share scope name other than "default"? What practical scenarios actually require defining multiple share scopes?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions