Micro-Frontends: What, why and how

Micro-Frontends: What, why and how

Jack Herrington

4 года назад

152,857 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Alex Gochenour
Alex Gochenour - 16.11.2023 23:26

Thanks for this great video. I worked at a small company that used Web Components that got slotted into a React app. The React app was tiny as a result. We didn't use the term "micro front ends" but what we had basically meets your definition. I'd argue that this is definitely a standard. Certainly not a "Redux of MFEs" as you say, but still a viable standard, especially considering the variety of tools that can stamp out Web Components if you don't feel like rolling your own.

Ответить
Shahar Har-Shuv
Shahar Har-Shuv - 06.10.2023 22:19

I checked now (2023) and it seems like single spa has significantly more downloads and coverage than any thing else you've described.

Ответить
Qoostewin Sch'Kuen'Te
Qoostewin Sch'Kuen'Te - 09.08.2023 03:23

No standards is a deal breaker

Ответить
Mohit Dhote
Mohit Dhote - 24.07.2023 21:53

Is it possible to create micro frontend in diffrent framework and render it in one single page application with module federation if yes how to do that configuration

Please help

Ответить
Katan87
Katan87 - 30.04.2023 23:37

Man.... you are KILLING IT. Keep up with great work!

Ответить
Víctor Salvans
Víctor Salvans - 04.04.2023 23:45

First came applets, then portlets, then widgets and now micro frontends. The concept has been the same but the architecture behind changed a lot for good.

Ответить
Bamboo
Bamboo - 03.04.2023 08:46

I see that you haven't touched micro frontends much after this time period(2-3 years ago), is it that they're not trendy anymore and monorepos are the new thing, or is it that there's nothing more to talk about them?

Ответить
HKJ
HKJ - 27.03.2023 06:16

Can you make video on
Exposing component which is connected to api and redux store ??

Ответить
Aymen Marouani
Aymen Marouani - 06.02.2023 12:02

To be honest, I still doubt the concept of MFE, because I see no established approach or live example, just an ad-hoc sites. How can the MFI manage authentication if each component have its own provider ? how to manage routing ? what if there is shared data between those MFI components ? How can we manage to make MFE components working together when we have fundamentally different approaches like Virtual DOM in React and a compiler for Svelte ?

Ответить
Jatil Yadav
Jatil Yadav - 04.02.2023 16:15

Amazing video

Ответить
echobucket
echobucket - 10.01.2023 23:51

I feel like this is a rehashing of the "Portal" architecture stuff from the mid 2000s.

Ответить
Vakhtang Nodadze
Vakhtang Nodadze - 02.01.2023 13:29

Thank you for your contribution to the Software community. 👏 Your videos are awesome

Ответить
Mikhail Isaev
Mikhail Isaev - 22.12.2022 14:59

I didn't get the diff between microfrontend and library. seems libraries/plugins just now have new name MICROFRONTEND 😁

Ответить
FINES HIMAAMBO
FINES HIMAAMBO - 17.12.2022 11:59

what extension due use for the code snippets

Ответить
Frank Lee
Frank Lee - 30.11.2022 07:35

Just started my first job and we’re considering adopting microfrontends for the various apps across the platform. It’s an interesting concept but I have a hard time distinguishing them from components.

Ответить
Dan Cabaniss
Dan Cabaniss - 03.11.2022 00:48

Great video. I can't help but think that micro FE's could be really difficult to manage if you have multiple components that need to communicate with each other. It just sounds like a recipe for disaster to me. But maybe i'm wrong.

Ответить
Vittal Setty
Vittal Setty - 02.11.2022 11:31

Hi Jack
Thanks for a great intro video on MFE. It really helped understand the concept.
However, I do have a question

We were always consuming other web portals into a host website using iframes or something similar. How ar MFEs differeent from these?

Ответить
Darren John
Darren John - 21.10.2022 17:12

I watched this mfe THEORY video right after watching your mind-blowing mfe PRACTICAL video ("Micro-Frontends in Just 10 Minutes") -- which really helped convince me of the WHY. 👏 🤜🤛

Ответить
Dan Ramos
Dan Ramos - 14.10.2022 02:30

Con: styling can be an issue, not too terribly easy to create themes that are applicable across different MFE.

Ответить
Mokhtar Elfoly
Mokhtar Elfoly - 13.10.2022 17:59

Very usefull , God bless you !

Ответить
Adam Crockett
Adam Crockett - 12.10.2022 11:19

I'm starting this video sceptical I'll be honest

Ответить
Devran D
Devran D - 05.10.2022 02:54

I did implement micro apps by iframe in react until i meet with this channel,
To communicate with parent and children was really tricky and messy in Iframe. thank you!

Ответить
André Ramos
André Ramos - 29.09.2022 09:32

Wy this guy is always saying "micro fernand"? It's "micro front end" 🤣🤣🤣🤣🤣🤣🤣🤣

Ответить
Val Trav
Val Trav - 06.09.2022 18:34

Thanks!

Ответить
HARIHARAN A
HARIHARAN A - 01.09.2022 05:03

Hi sir, please tell any resources to learn micro frontends in react

Ответить
Amin Arabi
Amin Arabi - 16.07.2022 00:09

Awesome explanation. Thank you.

Ответить
Dnejfn
Dnejfn - 11.07.2022 00:51

bravo!

Ответить
Viraj Singh
Viraj Singh - 06.07.2022 20:20

This video made me realize, I was part of a micro front end team in my previous job 🤣. We had a mono repo for our micro frontends and we shared each other's teams reusable code by developing private npm packages for sharable code like UI libraries. We had micro frontends within a micro frontend if you consider loading different page sections in iframes which was crazy at first.

Ответить
daryl fong
daryl fong - 08.06.2022 01:08

Thanks for the video. How should you unit test your app?

Ответить
Rajat Malik
Rajat Malik - 07.06.2022 18:49

Thanks @Jack Herrington for making MF such easy way to implement.
Currently, I am struggling with "Cross micro frontends communication" with mono angular MF, through a common/ shared service between all the MFs.

I hope, I am not alone, Many of us going through same challenge, If you could share any article/ video. From there we can take reference.


Thanks in advance. I am waiting for hear something from you.

Ответить
ashita shukla
ashita shukla - 29.04.2022 13:32

Hi, thanks for the explaination, my query is regarding is it possible achieve single spa of MF1 of AngularJs and MF2 Angular 9+ in vanilla JS root container or something like root-container will be Angular 10 or 13 and exposed MF's ie. AngularJs and Angular 2+ ? If it is possible please help to understand.

Ответить
PJ F
PJ F - 27.03.2022 17:11

How does microfrontend differ from webcomponents?

Ответить
Ruben Verster
Ruben Verster - 20.02.2022 17:59

I have a question. We're working on a POC app at work and we use microservices and microfrontends for the architecture.
We are dockerizing everything, every microfrontend and microservice. How would you go about having the different microFE containers communicate with each other?

Any blogs, forums or vids will help. Basically any rresource XD

Ответить
Ruben Verster
Ruben Verster - 20.02.2022 17:59

I have a question. We're working on a POC app at work and we use microservices and microfrontends for the architecture.
We are dockerizing everything, every microfrontend and microservice. How would you go about having the different microFE containers communicate with each other?

Ответить
Erhan FIRAT
Erhan FIRAT - 30.01.2022 04:45

Thank you, there are many helpful videos from you about MFEs.

Ответить
Abouzar Azarpira
Abouzar Azarpira - 24.01.2022 17:49

It was just great and clean like yourself

Ответить
Zlatko Iliev
Zlatko Iliev - 23.01.2022 17:37

Awesome! Are you planning to make a tutorial on micro-frontends? I would love to see a nice app split in micro-frontends, with routing, auth, and some code sharing

Ответить
Florian Matz
Florian Matz - 15.01.2022 22:49

Might be a stupid question, but say you have a Design System / Component-Library / UI-Kit that lives within a Monorepo alongside, let’s say an AppShell (Host App), products page and a cart page.

All of them are MFs and all of them consume, let’s say the ButtonComponent from our component library. Does the code of the Button gets baked into each and every MF resulting basically in duplicated code and larger bundle per MF?

Or would you have to setup each and every component of the library as own MF to be able to consume it without duplication (resulting in a lot of request - because you other stuff out of the library too).

Or is there a chance that the shell imports the UI-Kit and kind of exposes all it’s contents (wildcard expose?!).

I really enjoyed the video - like all your other stuff ✌🏻❤️

Ответить
J Y
J Y - 18.12.2021 07:30

Micro frontend concept is created by architect, not developer. The architect try to educate developer how to implement a vision he has, but the he doesn't know how to do it. It is politics, chaos, mess. It is vietname war that you can't win.

Ответить
Chris
Chris - 08.12.2021 15:59

The first 3 minutes of this video makes me think of components in a React app. Components are individual blocks of code that do something. The code for such components are often found in 1 file among a collection of other components.

Ответить
Ali Baba
Ali Baba - 07.12.2021 13:36

Thanks a lot!

Ответить
iyad1998jobran
iyad1998jobran - 28.11.2021 16:35

Thank you sir, Gold content 🙏.

Ответить
Leo Nigro
Leo Nigro - 11.11.2021 07:43

Ah, jeez. Everything old is new again. I was at a company building re-usable server side components in early 2000s for various industries, which would embed in their web pages. Now, just because we're moving some code to the front end we're suddenly using the "micro-frontend" buzzword. People were doing this crap with iframes since the year dot until that was disparaged.

Ответить
J E
J E - 11.11.2021 04:46

How is this any different from a component ?

Ответить
Peter Sedesse
Peter Sedesse - 28.10.2021 09:41

I started developing websites in the early 90s and did it professionally for about 6 years, then took a 20 year break.... it is funny coming back and seeing that all the headaches have been fixed. I want to make an uphill, both ways, joke

Ответить
ThatDevGuy Hansen
ThatDevGuy Hansen - 25.10.2021 10:06

Really a good short and precise video, doing exactly what the title said it would do. And I'm now confidant that MFE is the wrong path for our current project. 👍

Ответить
Web Dev Cody
Web Dev Cody - 16.10.2021 07:46

At a previous job, we tackled micro front ends by basically having a some shared header code, which was written in plain JavaScript html, hosted somewhere; this was injected into the page on load and rendered. The header had all of the links to the various micro uis, and each micro Ui was built and deployed individually by different teams. Some of the stuff you mention sounds like you took it to the next level (which is cool) such as having sub components of pages loaded and rendered via xhr request. I’ve switched projects since then, but it was a cool learning experience! Thanks for the video

Ответить
Manuel Pamplona
Manuel Pamplona - 12.10.2021 22:49

your videos are gold

Ответить
Kiran Randhawa
Kiran Randhawa - 10.10.2021 00:59

Although you explained the difference between a library and a micro frontends I just don't really understand what you meant when you said micro frontends are different because they can be deployed independently. So can libraries can't they? I'm not sure what you meant. It's just not clear to me why you'd use a micro frontend over a library and how they really differ?

Ответить
--
-- - 02.10.2021 19:02

microfronends

Ответить