manfredsteyer / multi-framework-micro-frontend

77 stars 36 forks source link

Fix for infinite reloads of new Angular 14 MFE #12

Open magnihansen opened 2 years ago

magnihansen commented 2 years ago

Cant create a PR, so you get a fix here. After creating a A14 MFE I ran into this issue.

For MFE running A14+ the publicHost in the serve > options section needs to be added otherwise the browser reloads the app infinite.

Now the 'document-register-element' package is deprecated, it can be replaced with '@ungap/custom-elements' package.