Vite and Module Federation Makes Micro-Frontends EASY!
Vite now has a plugin for Module Federation that allows you to share code between applications live. And it not only supports CSS sharing now (woot!) It also allows you to trade code between Vite, Rollup and Webpack.
Code:
👉 I’m a host on the React Round-Up podcast:
👉 Don’t forget to subscribe to this channel for more updates:
👉 Discord server signup:
👉 VS Code theme and font? Night Wolf [black] and Operator Mono
👉 Terminal Theme and font? oh-my-posh with powerlevel10k_rainbow and SpaceMono NF
0:00 Introduction
2:36 Plugin Introduction
4:08 Remote Application Setup
7:10 Host Application Setup
8:25 Configuration Remote Module Federation
11:30 Configuring Host Module Federation
15:37 State Sharing For Micro-FE’s
19:59 Webpack Interoperability
24:35 Monorepo Comparision
25:51 Pros & Cons
27:06 Outroduction
1 view
122
42
6 days ago 00:03:09 68
ALLDAY PROJECT - ‘FAMOUS’ M/V
6 days ago 00:01:01 3
Actors & Their Iconic Roles AI Fashion Runway part 8 #aiart #thor #johnwick #scarletwitch #loki
2 weeks ago 00:04:13 1
Sia - Bird Set free (Music Video Sora)
2 weeks ago 00:23:53 1
Continuity of Agenda: Trump Administration White-Washes Bush-Obama-Biden-backed Al-Qaeda in Syria
2 weeks ago 00:01:23 1
Heroes & Villains go for gold 🥇 - TOON SANDWICH #funny #marvel #mcu #mask #crossover #loki
3 weeks ago 00:00:00 4
Почему жена истерит после измены мужа?
3 weeks ago 00:29:15 1
L’Histoire Interdite de Tartaria : Civilisation Interdite, Technologie Cachée, Mémoire Effacée !