Naser Hassani
Front-End Developer
A look at the micro-frontends architecture
Nov 2022 - Naser Hassani
Is there a problem?
Can micro-frontends help?
ٰBonus: the islands architecture
We have many frontend developers but still we're not able to ship front stuff fast enough!
Nothing really! Organising people and developing software is hard at scale.
Applications are getting bigger and more complex every day.
Monolithic web applications, usually built with JavaScript span thousands, or even millions of lines of code.
Frontend teams face the same organizational and scalability challenges as backend teams. Shouldn’t they—shouldn’t you—have other options?
Container is the new black!
The term Micro Frontends first came up in ThoughtWorks Technology Radar at the end of 2016.
Allow you to work independently, deploy autonomously, scale individual services, and pick the right technical solutions for the job.
Enhancing collaboration and offering developers more freedom to innovate and responsibility for their choices. This solution is called micro-frontends.
As with compositions, there are three ways to route the micro-frontends:
Bonus time!
the "Component Islands" pattern was coined by Etsy's frontend architect Katie Sylor-Miller in 2019.
The guiding principle for the island architecture pattern is:
In a nutshell, instead of hydrating the entire page, only the “islands” visible to the users will be hydrated immediately and the others will be hydrated if/when the user will visualise them.
The focus is on minimizing any unnecessary overhead of Javascript.
slide.print("THE END")
QUESTIONS?
By Naser Hassani
A look at the micro frontend architecture trend. Understand the core problems micro frontends aim to solve.