The Angular Show
E077 - MFE Episode 2: Single SPA
In our second installment on Microfrontend (MFE) Architecture with Angular Joel Denning, the founder and core contributor for Single SPA teaches Jennifer and Brian the approach to building MFEs with Single SPA. Joel gives us a brief introduction to Single SPA and how it came about, along with the challenges he was trying to solve at the time. We also learn from Joel a few strategies for sharing dependencies, such as module federation or SystemJS.
The biggest takeaway from this episode is that MFE architecture requires independent deployments. That means you should be able to deploy a single SPA without having to deploy all applications in the MFE. Of course, there are other opportunities to tackle when building an MFE, including server rendering, sharing dependencies, and sharing components that we discuss.
Part 2 of our series on MFEs is jam-packed with knowledge as well as tips and tricks for tackling the complexities of building at scale with microfrontends.
https://twitter.com/Joelbdenning