How would you go about using this solution with dynamic remote modules?
I need to configure dynamic remote modules to handle deploying to different environments. Most implementations I've seen pull the remote URLs from either a static manifest or an API and import them using React.lazy. That doesn't play nicely with the use of the mount function here.
I've tried something like this but it doesn't seem to work properly. Any suggestions?
How would you go about using this solution with dynamic remote modules?
I need to configure dynamic remote modules to handle deploying to different environments. Most implementations I've seen pull the remote URLs from either a static manifest or an API and import them using
React.lazy
. That doesn't play nicely with the use of themount
function here.I've tried something like this but it doesn't seem to work properly. Any suggestions?
Remote app bootstrap.tsx:
Host component RemoteApp1.tsx: