SlideShare a Scribd company logo
How to build your first Micro
Frontend in a matter of minutes
Vladlen Fedosov, Director of R&D
@Namecheap
Summer. Sea. JavaScript.
A few words about
Micro Frontends
In short: they are Microservices architecture that
was adopted for UI needs
To be more specific:
Think about web app as a composiCon of features
which are owned by independent teams. Each team
has a disCnct area of business or mission it cares
about and specialises in. A team is cross funcConal
and develops its features end-to-end, from database
to user interface.
Micro Frontends is…
OdessaJs 2020 - How to build your first micro frontend in a matter of minutes
Are they are mature enough?
https://www.thoughtworks.com/radar/techniques/micro-frontends
ThoughtWorks Technology radar:
• Nov 2016 – Assess
• Nov 2017 – Trial
• Apr 2019 – Adopt
It’s not a future tech - it’s a reality of nowadays
When to use them? 🤔
* Works well only if you apply Autonomous teams
approach
1. You have multiple teams
* Works well only if you apply Autonomous teams
approach
1. You have multiple teams
Why you should consider this:
• Speeds up new devs onboarding, less things to learn
• Independent, small, frequent, more controllable releases
• Clear areas of ownership, and so less bugs
• Most of the features can be developed by single team, less
coordination required
• Improves overall features delivery speed!
1. You have multiple teams
2. You want to modernise legacy web app
Why you should consider this:
• Speeds up new devs onboarding
• Simplifies hiring
• You get better community support
• Declarative approach reduces complexity of the app
• Better testability and so less bugs
• Improves overall features delivery speed!
2. You want to modernise legacy web app
Migration approach (our experience):
Input: Old MPA written on jQuery, Angular.js, ASP Forms, etc…
Step by step flow:
1. Install Micro Frontends infrastructure
2. Create shared page fragments (ex: header, footer) on new framework
3. Re-write 1 page on new framework
4. Send traffic to re-written page via Micro Frontends infrastructure
5. Repeat points 3-4 for other pages
2. You want to modernise legacy web app
By solving problems of
nowadays we create problems
for tomorrow
New challenges from the past
• Routing – when to load which MF
• Error pages handling – shared 404/500/etc pages across MFs
• Local Development Environment – how to develop a piece of
the page?
• SSR – you need some layout composer for page assembly
• Dynamic code loading – load assets for current page first, load
other later
• Shared common logic – authentication, shopping cart,
notifications, etc…
• etc…
Do I need to deal with all of
them on my own?
No! You shouldn’t. There is a framework for it.
No! You shouldn’t. There is a framework for it.
No! You shouldn’t. There is a framework for it.
App
Shared
Code
client.js
mount()
unmount()
server.js
config ←
Business logic Client side bundle
Server
bundle
(optional)
Assets
Server runner
(optional)
Server API
CDN
Is there are any alternatives?
Yes, but we haven’t found them “complete” enough 😢
So we took 2 most powerful solutions & combined them together.
You can find more alternative solutions here:
• https://awesomeopensource.com/projects/microfrontends
• https://github.com/rajasegar/awesome-micro-frontends
TIME
Vlad Fedosov
Director of R&D
@Namecheap, Inc
vlad.fedosov@gmail.com
Source code:
github.com/StyleT/
ilc-learning-react

More Related Content

What's hot (19)

PPTX
Seattle bestpractices2010
Olaseni Odebiyi
 
PPTX
Web development - Developing Web as A Team
Muhammad Akbar Yasin
 
PPTX
MEAN Stack
RoshanTak1
 
PPTX
Lightswitch
Robert MacLean
 
PPTX
Why are developers choosing to train in Mern Stack these days?
JAMESJOHN130
 
PDF
Performance testing of mobile apps
vodQA
 
PDF
iOS development best practices
Michal Juhas
 
PPTX
TypeScript
Fabian Vilers
 
PPTX
10 top web development frameworks (new version 21 11)
Mandar Majmudar
 
PDF
Top Web Development Frameworks Comparison: All You Need To Know
PixelCrayons
 
PDF
Frontend Monoliths: Run if you can!
Jonas Bandi
 
ODP
Mobileweb
Daniel Desira
 
PPTX
Latest Web development technologies 2021
SWATHYSMOHAN
 
PPTX
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
Tyto Software
 
PPT
Top 10 web application development frameworks 2016
iMOBDEV Technologies Pvt. Ltd.
 
PPTX
MVVM frameworks - MvvmCross
Flavius-Radu Demian
 
PDF
BLUG 2013 - Mobile Application Delivery - Choices, choices, choices
René Winkelmeyer
 
PPTX
Full stack web development with c# and web assembly - Blazor.Net
Ruwantha Ratnayake
 
PPTX
C# everywhere - Building Cross-Platform Apps with Xamarin and MvvmCross
Flavius-Radu Demian
 
Seattle bestpractices2010
Olaseni Odebiyi
 
Web development - Developing Web as A Team
Muhammad Akbar Yasin
 
MEAN Stack
RoshanTak1
 
Lightswitch
Robert MacLean
 
Why are developers choosing to train in Mern Stack these days?
JAMESJOHN130
 
Performance testing of mobile apps
vodQA
 
iOS development best practices
Michal Juhas
 
TypeScript
Fabian Vilers
 
10 top web development frameworks (new version 21 11)
Mandar Majmudar
 
Top Web Development Frameworks Comparison: All You Need To Know
PixelCrayons
 
Frontend Monoliths: Run if you can!
Jonas Bandi
 
Mobileweb
Daniel Desira
 
Latest Web development technologies 2021
SWATHYSMOHAN
 
Keeping Pace with Product Evolution - UI Automation Framework Guidelines
Tyto Software
 
Top 10 web application development frameworks 2016
iMOBDEV Technologies Pvt. Ltd.
 
MVVM frameworks - MvvmCross
Flavius-Radu Demian
 
BLUG 2013 - Mobile Application Delivery - Choices, choices, choices
René Winkelmeyer
 
Full stack web development with c# and web assembly - Blazor.Net
Ruwantha Ratnayake
 
C# everywhere - Building Cross-Platform Apps with Xamarin and MvvmCross
Flavius-Radu Demian
 

Similar to OdessaJs 2020 - How to build your first micro frontend in a matter of minutes (20)

PDF
'How to build your first micro frontend in a matter of minutes' by Vladlen Fe...
OdessaJS Conf
 
PPTX
Micro frontend architecture_presentation_ssoni
Sandeep Soni
 
PPTX
Micro Frontends.pptx
ShanAli738907
 
PDF
Scaling frontend applications with micro-frontends Presentation.pdf
KatamaRajuBandigari1
 
PDF
Micro Frontends
Talentica Software
 
PPTX
Micro-frontends – is it a new normal?
Lohika_Odessa_TechTalks
 
PPTX
Micro-Frontends JSVidCon
Amir Zuker
 
PPTX
Micro-Frontend Architecture
Livares Technologies Pvt Ltd
 
PDF
JSFest 2019: Technology agnostic microservices at SPA frontend
Vlad Fedosov
 
PDF
Front end microservices - October 2019
Mikhail Kuznetcov
 
PPTX
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
KNOWARTH - Software Development Company
 
PDF
What is Micro Frontend Architecture and its Benefits
Forgeahead Solutions
 
PDF
FEVR - Micro Frontend
Miki Lombardi
 
PPTX
“Micro Frontends”- You Keep Using That Word, I Don’t Think It Means What You ...
Shem Magnezi
 
PDF
micro-frontends-with-vuejs
Oleksandr Tserkovnyi
 
PPTX
JS Fest 2019/Autumn. Влад Федосов. Technology agnostic microservices at SPA f...
JSFestUA
 
PDF
Micro Frontends
Spyros Ioakeimidis
 
PDF
The Modern Web with Microfrontends
Nikki Dingding
 
PPTX
Building applications in a Micro-frontends way
Prasanna Venkatesan
 
PDF
AOEconf17: UI challenges in a microservice world
AOE
 
'How to build your first micro frontend in a matter of minutes' by Vladlen Fe...
OdessaJS Conf
 
Micro frontend architecture_presentation_ssoni
Sandeep Soni
 
Micro Frontends.pptx
ShanAli738907
 
Scaling frontend applications with micro-frontends Presentation.pdf
KatamaRajuBandigari1
 
Micro Frontends
Talentica Software
 
Micro-frontends – is it a new normal?
Lohika_Odessa_TechTalks
 
Micro-Frontends JSVidCon
Amir Zuker
 
Micro-Frontend Architecture
Livares Technologies Pvt Ltd
 
JSFest 2019: Technology agnostic microservices at SPA frontend
Vlad Fedosov
 
Front end microservices - October 2019
Mikhail Kuznetcov
 
Micro Front Ends : Divided We Rule by Parth Ghiya - AhmedabadJS
KNOWARTH - Software Development Company
 
What is Micro Frontend Architecture and its Benefits
Forgeahead Solutions
 
FEVR - Micro Frontend
Miki Lombardi
 
“Micro Frontends”- You Keep Using That Word, I Don’t Think It Means What You ...
Shem Magnezi
 
micro-frontends-with-vuejs
Oleksandr Tserkovnyi
 
JS Fest 2019/Autumn. Влад Федосов. Technology agnostic microservices at SPA f...
JSFestUA
 
Micro Frontends
Spyros Ioakeimidis
 
The Modern Web with Microfrontends
Nikki Dingding
 
Building applications in a Micro-frontends way
Prasanna Venkatesan
 
AOEconf17: UI challenges in a microservice world
AOE
 
Ad

Recently uploaded (20)

PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PDF
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PPTX
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
PPTX
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
PPTX
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
PDF
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Transforming Mining & Engineering Operations with Odoo ERP | Streamline Proje...
SatishKumar2651
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
In From the Cold: Open Source as Part of Mainstream Software Asset Management
Shane Coughlan
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Tally software_Introduction_Presentation
AditiBansal54083
 
4K Video Downloader Plus Pro Crack for MacOS New Download 2025
bashirkhan333g
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Change Common Properties in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
Linux Certificate of Completion - LabEx Certificate
VICTOR MAESTRE RAMIREZ
 
Tally_Basic_Operations_Presentation.pptx
AditiBansal54083
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
MiniTool Partition Wizard 12.8 Crack License Key LATEST
hashhshs786
 
Milwaukee Marketo User Group - Summer Road Trip: Mapping and Personalizing Yo...
bbedford2
 
MiniTool Partition Wizard Free Crack + Full Free Download 2025
bashirkhan333g
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Ad

OdessaJs 2020 - How to build your first micro frontend in a matter of minutes

  • 1. How to build your first Micro Frontend in a matter of minutes Vladlen Fedosov, Director of R&D @Namecheap Summer. Sea. JavaScript.
  • 2. A few words about Micro Frontends
  • 3. In short: they are Microservices architecture that was adopted for UI needs To be more specific: Think about web app as a composiCon of features which are owned by independent teams. Each team has a disCnct area of business or mission it cares about and specialises in. A team is cross funcConal and develops its features end-to-end, from database to user interface. Micro Frontends is…
  • 5. Are they are mature enough? https://www.thoughtworks.com/radar/techniques/micro-frontends ThoughtWorks Technology radar: • Nov 2016 – Assess • Nov 2017 – Trial • Apr 2019 – Adopt It’s not a future tech - it’s a reality of nowadays
  • 6. When to use them? 🤔
  • 7. * Works well only if you apply Autonomous teams approach 1. You have multiple teams
  • 8. * Works well only if you apply Autonomous teams approach 1. You have multiple teams
  • 9. Why you should consider this: • Speeds up new devs onboarding, less things to learn • Independent, small, frequent, more controllable releases • Clear areas of ownership, and so less bugs • Most of the features can be developed by single team, less coordination required • Improves overall features delivery speed! 1. You have multiple teams
  • 10. 2. You want to modernise legacy web app
  • 11. Why you should consider this: • Speeds up new devs onboarding • Simplifies hiring • You get better community support • Declarative approach reduces complexity of the app • Better testability and so less bugs • Improves overall features delivery speed! 2. You want to modernise legacy web app
  • 12. Migration approach (our experience): Input: Old MPA written on jQuery, Angular.js, ASP Forms, etc… Step by step flow: 1. Install Micro Frontends infrastructure 2. Create shared page fragments (ex: header, footer) on new framework 3. Re-write 1 page on new framework 4. Send traffic to re-written page via Micro Frontends infrastructure 5. Repeat points 3-4 for other pages 2. You want to modernise legacy web app
  • 13. By solving problems of nowadays we create problems for tomorrow
  • 14. New challenges from the past • Routing – when to load which MF • Error pages handling – shared 404/500/etc pages across MFs • Local Development Environment – how to develop a piece of the page? • SSR – you need some layout composer for page assembly • Dynamic code loading – load assets for current page first, load other later • Shared common logic – authentication, shopping cart, notifications, etc… • etc…
  • 15. Do I need to deal with all of them on my own?
  • 16. No! You shouldn’t. There is a framework for it.
  • 17. No! You shouldn’t. There is a framework for it.
  • 18. No! You shouldn’t. There is a framework for it. App Shared Code client.js mount() unmount() server.js config ← Business logic Client side bundle Server bundle (optional) Assets Server runner (optional) Server API CDN
  • 19. Is there are any alternatives? Yes, but we haven’t found them “complete” enough 😢 So we took 2 most powerful solutions & combined them together. You can find more alternative solutions here: • https://awesomeopensource.com/projects/microfrontends • https://github.com/rajasegar/awesome-micro-frontends
  • 20. TIME
  • 21. Vlad Fedosov Director of R&D @Namecheap, Inc [email protected] Source code: github.com/StyleT/ ilc-learning-react