microfrontends icon indicating copy to clipboard operation
microfrontends copied to clipboard

Does not work in IE 11

Open bollerdominik opened this issue 6 years ago • 3 comments

Trying to run this PoC in IE 11 I get

angular-app' died in status LOADING_SOURCE_CODE: "does not export an unmount function or array of functions"

Kindly asking for help on how to get it running on IE

bollerdominik avatar Sep 24 '19 09:09 bollerdominik

The same error doesn't happen in other browsers? The error you're seeing is usually not browser-specific.

internettrans avatar Sep 24 '19 16:09 internettrans

Works fine in all other Browsers I have tested it. Just IE is throwing the error shown above

bollerdominik avatar Sep 25 '19 07:09 bollerdominik

I just tested it out locally and confirmed it doesn't work. It seems related to Angular 5's bundle not creating the window.angularApp global variable correctly. I don't have the desire to debug this since this repo is not up-to-date on many things (Angular 5 instead of Angular 8) and not following all the best practices of single-spa (no SystemJS, UI in the root app when that's not encouraged, etc).

Check out the recommended setup by the single-spa core team.

Here are some other examples

internettrans avatar Sep 25 '19 15:09 internettrans