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
constlifecycles=singleSpaReact({
React,
ReactDOM,loadRootComponent: (args)=>{console.log(args.testing);returnPromise.resolve(Root);}},errorBoundary(err,info,props){// Customize the root error boundary for your microfrontend here.
return null;},});
The testing customProp does not reach the args inside loadRootComponent when using the standalone mode. But if I do this in root-config for embedded mode, then it works:
Hi! I have this configuration in my webpack.config.js, these are 2 new root and microfrontend app created with create-single-spa 4.1.2
And this in my main app js file
The testing customProp does not reach the args inside loadRootComponent when using the standalone mode. But if I do this in root-config for embedded mode, then it works:
How can I send custom props to the standAlone app only?
The text was updated successfully, but these errors were encountered: