Urgent.News

What's breaking now, across thousands of outlets.

Tech

Federation Solved Composition. Nobody Solved Deployment Reliability

Why your microfrontend framework isn't solving your biggest operational problem—and what you're missing The Conversation I Keep Having Over the past five years, I've had the same conversation with dozens of engineering teams, over and over: Them : "We're adopting Module Federation. Our team just shipped three new MFEs last quarter. Deployment velocity is great." Me : "Nice. How long does a…

The article discusses why microfrontend frameworks like Module Federation are not effectively addressing one of the biggest operational problems in frontend development: deployment reliability. While Module Federation excels at composition - allowing independent modules to be loaded at runtime via a manifest - it falls short when it comes to orchestration, or the safe deployment, rolling back, and monitoring of those modules.

The author points out that deployment of MFEs still follows a full frontend rebuild process, taking 10-15 minutes for a rollback, compared to just a few minutes for backend services. This leads to several issues: custom rollout tooling built by each team, all-or-nothing deployment approaches, slow incident response times, and increased coordination overhead as the number of MFEs grows.

The key takeaway is that while Module Federation solves the composition problem well, the backend's successful separation of building from deploying has yet to be applied to the frontend. Teams are left building their own custom deployment solutions, resulting in fragile, team-specific tooling and a significant loss of engineering time spent on toil rather than feature development.

The article argues for a dedicated orchestration layer at the component/bundle level to complement Module Federation and enable reliable, rapid frontend deployments.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Module Federation with Vite in production: what changes

Module Federation started in Webpack, and for years that is where it stayed. It works on Vite now, through @module-federation/vite , and works well — but Vite's dev server and Vite's build are two…

  • Module Federation integrated with Vite's development server and build process
  • Dependency deduplication differs between development and production builds
  • Shared dependencies should be marked deliberately to avoid conflicts

How to Ship Canary Releases for Microfrontends Without Losing Your Mind

TL;DR: Canary releases let you test new microfrontend versions on a slice of your traffic before going full rollout. Most teams build custom tooling for this. You don't have to.

  • Canary releases allow gradual rollout of new microfrontend versions to a small user percentage.
  • Challenges include complex traffic routing, invisible versioning, and instant rollback requirements.

One build, every environment: runtime configuration for micro frontends

Look at your pipeline. If it builds staging and production separately from the same commit, you are shipping an artifact nobody tested. You tested the staging one.

  • Implement runtime configuration to avoid separate builds for each environment in micro frontends.
  • Application fetches environment-specific values as a small JSON document at startup.
  • This approach reduces build waste, potential failures, and enables quick rollbacks.

More from Thursday 8 October →