Module Federation

Noun · Development

Definitions

  1. A webpack 5 feature that allows independently built and deployed JavaScript applications to share modules at runtime by exposing and consuming remote entry points, enabling micro-frontend composition without duplicating shared dependencies like React.

    In plain English: A way for separately built web apps to share code with each other live in the browser, so they don't each need their own copy of the same libraries.

    Example: "Module federation lets the shell app load the checkout widget from the payments team's CDN at runtime without rebuilding."

Related Terms