One App Before Microfrontends
Problem statement
One deployable app is often the right default. Modular packages first; split microfrontends only when release cadence or blast radius forces it.
Asked In
Key Challenges
- ·Knowing when one app is the right architecture
- ·Extracting only when team or deploy boundaries hurt
- ·Avoiding microfrontend fashion without a pain point
- ·Keeping a monolith modular inside the repo
2-Minute Answer — High-Level TL;DR
Read this before your interview
HLD Interview Focus
I treat a single deployable frontend as a monolith by default. Inside it I enforce modular boundaries with packages and ownership. I only split into separately deployed frontends when teams ship on different cadences, need independent failure domains, or the bundle/deploy blast radius is objectively too large. Microfrontends are a last resort, not a starting point.
My Approach: Building the Solution
How to think about this problem
Most candidates hear 'system design' and jump to microfrontends. Start instead: you already have a monolith if you ship one web app. The question is when that stops working.
Why This Approach?
Weak answers chase distribution. Strong answers protect delivery speed with a modular monolith until a concrete constraint forces a split.
A restaurant with one kitchen can still have stations — grill, pastry, plating. Opening three separate restaurants next door is expensive. Do it when the stations literally cannot share a kitchen anymore.
Requirements: What Makes a Great Solution?
Clarify scope before designing anything
Requirements Exploration Questions
Ask your interviewer these questions to refine requirements
How many teams ship this UI?
- ·One team
- ·Many teams one cadence
- ·Many teams conflicting cadence
What hurts today?
- ·Build time
- ·Deploy coupling
- ·Ownership fights
- ·Nothing — curiosity
Functional Requirements
Must Have — MVP
- ✓One deployable default
- ✓Internal module boundaries
- ✓Clear owners for domains
- ✓Criteria for extraction
Advanced (If Time Permits)
- +Module federation
- +Per-team deploy pipelines
- +Shared design system package
Non-Functional Requirements
Interview bar
- ·Name the invariant in one sentence
- ·Give one concrete failure of the naive approach
- ·State when the pattern is the wrong tool
The full solution is part of HelloFrontend Pro
The question above is free to read in full. Upgrade to unlock the interactive workspace and the senior-level walkthrough that go with it.
- Full RADIO-framework walkthrough with architecture diagrams
- Data model, API design, and rendering strategy trade-offs
- Performance, accessibility, and offline sections plus a model answer
Already a member? Log in to open the workspace.