Is Module Federation the Better Approach for Micro Frontends?

Published: 07 September 2024
on channel: About Clean Code
760
15

Is Module Federation the best choice for building Micro Frontends? Let's find out hands-on with WebPack and Vite in a simple project based on Vue.js.


Source code used in this tutorial:
WebPack: https://github.com/plainionist/AboutC...
Vite: https://github.com/plainionist/AboutC...

Check the git history to follow the steps explained in the video.

Vite plugin: https://github.com/originjs/vite-plug...

0:00 Intro
0:21 Project setup
0:56 What is Module Federation?
1:08 Prepare the project
1:51 Minimal Module Federation Setup
2:45 Fix loading of remote modules
3:26 Fix CSS style
3:47 Fix reactiveness
4:15 Fix reactiveness - Second attempt
4:58 Fix naming conflicts
5:50 Module Federation in Vite?
6:58 Fix Vite setup
8:47 Conclusion


Watch video Is Module Federation the Better Approach for Micro Frontends? online without registration, duration hours minute second in high quality. This video was added by user About Clean Code 07 September 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 760 once and liked it 15 people.