← All posts
LinkedIn
  • #Micro-frontends
  • #Frontend

Strangler Fig for Frontends: Migrate Without a Rewrite

You've heard "don't rewrite." But what do you actually do when the monolith has to go?

The strangler fig pattern: build the new system around the old one, then replace it incrementally. Same idea for frontends.

A thin shell app becomes your router. It decides which app loads for each route — legacy or new. You migrate one route, one feature, one domain at a time. Start with low-risk routes. Not the gnarly ones. Build confidence first.

The monolith shrinks. The micro frontends grow. No big bang. No "we'll ship when it's done." You're shipping the whole way.

That's how you avoid the rewrite trap.

Slides

  1. You don't rewrite the monolith. You strangle it.
  2. Build new around the old. Replace piece by piece.
  3. Start with a thin shell: one router that decides which app loads.
  4. Migrate low-risk routes first. Not the hardest ones.
  5. Route by route. Feature by feature. No big bang.
  6. The old app shrinks. The new one grows. That's the plan.
See more on LinkedIn ↗