Webpack 5 Module Federation - A look at the source code and how it works

preview_player
Показать описание
This screencast walks though how Module Federation works by inspecting the source code inside the Webpack core

Рекомендации по теме
Комментарии
Автор

I want to know the implementation detail of `eager` option.

frankgod
Автор

Thanks for the good explanation but can you make an example of a fallback for the network crashes for remote modules?

shahab
Автор

I want to cache remoteEntry in host app. Any reference or links please?

vickygupta
Автор

I am looking some help to create an architecture where we can migrate the existing Angular 11 monolith application into small independent self compiled build with the help of moudle federation and load those remote apps on demand at run time. In this migration we want to provide scalabilty and high availability for our end users hence we are thinking to deploy 4 instances of Shell Module and 4 instances of each remote module running on different containers.

Whenever end user will try to load our app then with the help of load balancer it will load the available shell module and then shell app will load the remote modules running on different containers. Now the question here is that if we have multiple instances of remote modules which are running on different conatiners then can we put another load balancer between shell module app and remote module app so that we can load remote modules as well as per their availability?

It would be really help if somebody has done that in past or interested to do the same with me. Thanks in advance for showing interest on this interesting idea.

Thanks
Maneesh

maneeshthareja
Автор

does module federation works with capacitorjs? currently i am using capacitor js within angular project(host). i want to consume a micro frontend from this app. I am expecting this to work on android devices as well. Am i thinking right?

praveenbollampalli
Автор

Thanks Zack. Any news about storybook support MF with their release of optional webpack5 support?

BharatMhaskar
Автор

Hey can we do this between react and angular or vice versa .. Please help me know

latadhule