A story on Frontend Architectures - SPA meets the enterprise! (Part-2)
Source: Dev.to
Recap of Part 1
(… In Part‑1, we established the foundation with the definition of MFE and the basics of Module Federation.)
remoteEntry.js: Exposing a Remote App
Let’s understand how the remoteEntry.js file exposes a remote app from the shell with some real code.
We’ll do this in three layers:
- Remote app config –
remoteEntry.jsexposes … - Remote app module – …
- (additional layer details would follow)