Frankenstein Architectures: Module Federation and Angular Elements
summary
Shows a shell that uses Webpack 5 Module Federation to load separately compiled microfrontends (Angular 12 and React 17) and wraps apps as Angular Elements/web components, with a generic wrapper component for routing. Demo measures: shared Angular reduces a remote to ~1.2K (3.3K uncached), loading React adds ~45K, loading a different Angular version adds ~150K, subsequent remotes drop to ~11K; Vue adds ~30–40K. Uses a helper library module-federation-tools to cache Angular platforms, share zone.js, and automate bootstrapping; the Frankenstein approach works but requires many workarounds.
AI-written summary · about
