Micro frontends - NX, Rspack, Module Federation with new Federated Types!

  Рет қаралды 2,680

Russell Canfield

Russell Canfield

Күн бұрын

Пікірлер
@cmichaelgraham
@cmichaelgraham 6 ай бұрын
Fantastic video - very useful :)
@ankitparmar14190
@ankitparmar14190 Ай бұрын
Is this possible to setup nextjs application?
@sirawichvoungchuy3128
@sirawichvoungchuy3128 9 ай бұрын
Thank you so much!. could you please give me an example about MF for Nextjs 14 ?
@ankitparmar14190
@ankitparmar14190 Ай бұрын
Is this possible for the next 14?
@ThaiLofiVibes
@ThaiLofiVibes Ай бұрын
I would say yes/no. The MF library seems only support Next.js (Page router) for now. you can use Next.Js 13+ with Page router version if you want to use MF lib.
@ankitparmar14190
@ankitparmar14190 Ай бұрын
@ThaiLofiVibes mf lib is deprecated. Can we use webpack directly?
@ThaiLofiVibes
@ThaiLofiVibes Ай бұрын
@ if you are using Nextjs i suggest to checkout "rewrite" in next.config.js it behave like what micro frontend does
@ankitparmar14190
@ankitparmar14190 Ай бұрын
@ThaiLofiVibes will it work with angular end? My host app is angular and remote app is nextjs.
@thelostworld.thegioibilangquen
@thelostworld.thegioibilangquen 9 ай бұрын
I tried, developed, and built very quickly but Rspack has quite a few bugs and issues. Do you think Rspack is suitable for large-scale mf projects in the future?
@russellcanfield
@russellcanfield 9 ай бұрын
I think it is, its a newer tool so it will have some issues but it will be the best place to be long term - especially if you are using module federation. I'm curious what type of bugs have you encountered? Have you opened issues in the rspack repo?
@thelostworld.thegioibilangquen
@thelostworld.thegioibilangquen 9 ай бұрын
@@russellcanfield I follow Rspack Discord channel every day. I tried both Webpack and Rspack. Quite difficult to choose ones :))
@ardithastopalli2719
@ardithastopalli2719 8 ай бұрын
great content !!! do you think it is possible to dynamically load the remotes ?
@russellcanfield
@russellcanfield 8 ай бұрын
It definitely is, you just need a URL for federated types in your configuration but you can dynamically load them still
@ardithastopalli2719
@ardithastopalli2719 8 ай бұрын
@@russellcanfield thank you for the quick reply. I put together a working example using nx and rspack, dynamic remotes and finally got the HRM working. The only thing not working is the type generation. I am not sure where to put the URL for the type generation since now that I am loading the remotes dynamically? If you could explain the topic of dynamic remotes and HRM in a microfe world would be so much appreciated. Again thank you for all the help
Rust keeps making JavaScript faster
5:16
Let's Get Rusty
Рет қаралды 95 М.
Quilt Challenge, No Skills, Just Luck#Funnyfamily #Partygames #Funny
00:32
Family Games Media
Рет қаралды 55 МЛН
Mom Hack for Cooking Solo with a Little One! 🍳👶
00:15
5-Minute Crafts HOUSE
Рет қаралды 23 МЛН
Module Federation w/ rspack | Nx live
1:17:11
Nx - Smart Monorepos - Fast CI
Рет қаралды 1,5 М.
Zod + Generics is HEAVEN
4:41
Matt Pocock
Рет қаралды 62 М.
Five Module Federation/Micro-Frontend Mistakes
28:09
Jack Herrington
Рет қаралды 50 М.
Nx 19.0 Has Landed!!
9:08
Nx - Smart Monorepos - Fast CI
Рет қаралды 6 М.
NX ПОЛНЫЙ ГАЙД. МЕНТОРИНГ 36 ЗАНЯТИЕ
1:39:50
Ilnur Ryazhapov
Рет қаралды 4,7 М.
Rsbuild is 3x faster than Vite
4:55
Kelvin Omereshone
Рет қаралды 1,1 М.
The First Real Webpack Alternative (Written in Rust!)
19:28
Theo - t3․gg
Рет қаралды 64 М.
Why JavaScript Devs are Switching to Rust in 2024
10:35
warpdotdev
Рет қаралды 264 М.
Are RSCs and NextJS Really That Bad?
9:54
Jack Herrington
Рет қаралды 45 М.