WHAT
IS
MICRO -
FRONTEND?
Hello!
I’m Miguel Teheran
Senior developer. Always
learning.
You can find me at:
@Mteheran
Why learn this
concept?
Technologies change, but the
concept doesn’t.
MICRO SERVICES
Splitting large and complex applications into
smaller components with a single function
MICRO Frontend
Splitting large UIs into smaller web modules
and web components
Logo Header
Menu ContentSection Section
Principles
○ Stand-alone run
○ Independent development
○ Stand-alone deployment
Approaches
○ Routing
○ iFrame
○ Micro-apps
○ Pure components
○ Web components
Routing
○ Each route is a different project
○ Use HTTP server routing to redirect
multiple apps
○ Easy implementation
○ Independent development
Routing
Menu 1 - /myapp/menu1
Menu 2 - /myapp/menu2
Menu 3 - /myapp/menu3
iFrame
○ Embedded modules and projects
○ Easy to implement
○ Complex to maintain
○ Very useful in legacy projects
Legacy project example
Old technologies working with React.js
Micro-Apps
○ Fast distributed development
○ Challenging integration
○ Few reusable components
○ Independent development
Micro-Apps Examples:
Pure components
○ Javascript functions
○ Internal libraries
○ Npm, unpkg, etc.
○ Advanced JS knowledge is required
Web components
○ High complexity
○ Teams must be coordinated
○ Standard UI
○ Communication between components is
a big deal
○ Advanced JS knowledge is required
Frameworks make
life EASY
Frameworks for micro-frontend are coming.
1.
Single SPA
A Javascript framework for
frontend microservices
https://single-spa.js.org/
2.
Luigi
The enterprise-ready micro-
frontend framework
https://luigi-project.io/
3.
Mooa
A independent-deployment micro-
frontend framework for Angular from
Single SPA
https://github.com/phodal/mooa
THANKS!
You can find me at:
@Mteheran
CREDITS
Special thanks to all the people who made and released these awesome
resources for free:
○ Presentation template by SlidesCarnival
○ Photographs by Unsplash

Micro-frontend

Editor's Notes

  • #2 Template www.slidescarnival.com/help-use-presentation-templatewww.slidescarnival.com/help-use-presentation-template
  • #5 www.slidescarnival.com/help-use-presentation-template
  • #6 www.slidescarnival.com/help-use-presentation-template
  • #16 https://dev.to/phodal/micro-frontend-architecture-in-action-4n60#basic-application-distribution-routing---route-distribution-application
  • #17 https://dev.to/phodal/micro-frontend-architecture-in-action-4n60#basic-application-distribution-routing---route-distribution-application
  • #19 Show demo
  • #20 Show demo
  • #21 Show demo