Frontend Development 30 min read

Micro-Frontends: Background and Solutions

This article discusses the background and significance of micro-frontends, a modern architecture for large-scale web applications, and introduces Garfish as a widely adopted solution in the industry.

ByteDance Terminal Technology
ByteDance Terminal Technology
ByteDance Terminal Technology
Micro-Frontends: Background and Solutions

Micro-frontends are an architectural approach that decomposes a single-page application into smaller, independently deployable frontend applications. This article explores the context of their emergence, highlighting the challenges of complex web applications and the need for scalable solutions. It introduces Garfish, a micro-frontend solution developed by ByteDance, which serves over 100+ frontend teams and 400+ projects. The article also covers the deployment platform, runtime architecture, and key components like the loader, sandbox, router, and store, providing a comprehensive overview of the micro-frontend ecosystem.

The article contrasts traditional monolithic approaches with micro-frontends, emphasizing benefits such as independent development, deployment, and technology flexibility. It addresses common concerns like user experience fragmentation and developer experience challenges, proposing Garfish as a solution that balances both DX and UX. The summary concludes by discussing the advantages and considerations of adopting micro-frontends, including scalability, team autonomy, and the need for robust infrastructure.

frontend architectureweb developmentmicro frontendsByteDancegarfish
ByteDance Terminal Technology
Written by

ByteDance Terminal Technology

Official account of ByteDance Terminal Technology, sharing technical insights and team updates.

0 followers
Reader feedback

How this landed with the community

login Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.