Middle
On what are your micro frontends based — Module Federation from Webpack?
sobes.tech AI
Answer from AI
Yes, our micro-frontends are implemented using Webpack's Module Federation. This allows for dynamic loading and sharing of modules between different frontend applications at runtime.
Advantages of using Module Federation:
- Code separation between teams
- Ability to independently deploy micro-frontends
- Reuse of common libraries without duplication
For example, we have a separate micro-frontend for authentication, which is loaded into the main SPA via Module Federation, simplifying scaling and maintenance.