Micro Frontends - Vite, RSBuild and Module Federation V2

  Рет қаралды 990

Russell Canfield

Russell Canfield

Күн бұрын

Пікірлер: 24
@rustcohle928
@rustcohle928 5 күн бұрын
Thx for your video, you don't know when they will add support for HMR in conjunction with host-app?
2 ай бұрын
Thx for your video, could you add nested react router dom to your example?
@ozzolim
@ozzolim 2 ай бұрын
Hi Russel!!, what happen if i don't want to work inside a mono repo?
@russellcanfield
@russellcanfield 2 ай бұрын
@@ozzolim you don’t have to, the federation plug-in takes a url in the config or you can load remotes dynamically
@egorshumanskii8026
@egorshumanskii8026 3 күн бұрын
Sadly, it doesn't work out. Just a blank page when I've integrated host and vite-remote. 😪 No errors in the console and the Network tab shows a bunch of files are loaded as well as remoteEntry.js are accessible directly in the browser.
@baoien5520
@baoien5520 2 ай бұрын
Can you sharing a video talk about deployment mfe on PROD env? Thanks
@russellcanfield
@russellcanfield 2 ай бұрын
I briefly touch on the topic in this video, but I do have a follow up one coming about Zephyr Cloud kzbin.info/aero/PLemTpfu9eAGERzgHBYU_ibWJ_clKpTWfI&si=GHEm_YCW9zeWMGXn
@RyanGarant-l5z
@RyanGarant-l5z 2 ай бұрын
Is there a reason to manually target Chrome89 instead of leaving that blank?
@russellcanfield
@russellcanfield 2 ай бұрын
@@RyanGarant-l5z yes you need it to support top level await
@SymyonYY
@SymyonYY Ай бұрын
Thank you for the video, I think the only one or one of the few that show the use of the new plugin. Running it locally work perfectly fine, but when deployed it doesn't. I tried also to just build it and serve it from the dist folder and same thing. Are there any special steps to prepare MFE architecture for deployment or to run in prod?
@russellcanfield
@russellcanfield Ай бұрын
You may need to set the public path to auto for remotes and “/“ for the host. What errors are you seeing?
@SymyonYY
@SymyonYY Ай бұрын
@@russellcanfield Tahnk you for your reply. Right now from the example in the video I have: virtual:mf-REMOTE_ENTRY_ID:28 Uncaught Error: Module ./modulepreload-polyfill does not exist in container. at Module.getExposes (virtual:mf-REMOTE_ENTRY_ID:28:44
@SymyonYY
@SymyonYY Ай бұрын
And by public path I assume you mean base? not working sadly
@russellcanfield
@russellcanfield Ай бұрын
@@SymyonYY Are you using module preloads? If you are, try to limit them just to the libraries you are sharing such as react for example. You need the function implementation of module preload
@SymyonYY
@SymyonYY Ай бұрын
@@russellcanfield THe index.html in the dist folder does preload modules, particullarily for the runtimeInit artifact. But how do you limit what it gets in there? By the way code is 1 to 1 from the video, I don't do anything else, I am tryin gto have a 100% working example so I can work on my project afterwards.
@christmas7056
@christmas7056 Ай бұрын
Hi Russell, I want to understand more on micro frontend and how things are working here. Like I just discovered this. Could you help me with some resource or you could make some videos for your audience. I can see you are the few initial ones who is creating content on this.
@russellcanfield
@russellcanfield Ай бұрын
@@christmas7056 hey! Sure I have several videos under this playlist that should help
@christmas7056
@christmas7056 Ай бұрын
@@russellcanfield Found it, Thank you very much
Rslib - Federating npm packages
18:41
Russell Canfield
Рет қаралды 354
Micro Frontends - Module Federation v1.5 Plugins with rspack
13:51
Russell Canfield
Рет қаралды 559
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН
GIANT Gummy Worm #shorts
0:42
Mr DegrEE
Рет қаралды 152 МЛН
I'VE MADE A CUTE FLYING LOLLIPOP FOR MY KID #SHORTS
0:48
A Plus School
Рет қаралды 20 МЛН
Micro Frontends - Module Federation Dynamic Remotes with fallback (v2).
21:38
Micro Frontends - Module Federation Web Workers
11:17
Russell Canfield
Рет қаралды 852
Zephyr Cloud - The only sane way to do microfrontends
19:38
Russell Canfield
Рет қаралды 314
Micro frontends - NX, Rspack, Module Federation with new Federated Types!
26:12
Angular Getting Started (with NX)
37:35
Artesgo
Рет қаралды 79
Micro Frontends - Custom dynamic remote loader
32:56
Russell Canfield
Рет қаралды 2,1 М.
Squadron AI - AI pull request code reviews, chat and more!
14:06
Russell Canfield
Рет қаралды 155
JISOO - ‘꽃(FLOWER)’ M/V
3:05
BLACKPINK
Рет қаралды 137 МЛН