Module Federation
Module Federation is a concept that allows developers to share code and resources across multiple JavaScript applications observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 6.0
- age_days: 2139
- days_rel: 9
- days_push: 7
- n_releases_24m: 95
Adoption not part of the score
2624 stars · 430 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Module Federation is a JavaScript architecture and build-plugin ecosystem that lets independently built and deployed applications share code and load remote modules at runtime, enabling micro-frontend setups. This repository provides official examples demonstrating federation with Webpack, Rspack, Vite, Rsbuild, Next.js, Angular, and React Native.
Use cases
- split a large frontend into independently deployed micro-frontends
- share React components between multiple web apps at runtime
- load remote modules dynamically without redeploying the host app
- share dependencies between federated applications to avoid duplicate bundles
- set up module federation with Vite, Rspack, or Webpack
- build a React Native app with federated modules via Metro
- split a monolith frontend across multiple teams
When to choose
- you need runtime code sharing between separately deployed JavaScript applications
- you are adopting a micro-frontend architecture across teams
- you want official, maintained examples and plugins for Webpack, Rspack, Vite, Rsbuild, Next.js, or Angular
When to avoid
- you have a single small frontend app with no need for cross-app code sharing
- your team cannot handle the operational complexity of independently deployed modules
- you rely on custom Metro configurations for React Native federation, which is still experimental
Facets
framework · maturity active
build-tool plugin-system frontend-framework developer-tools frontend web-development microservices cross-platform module-federation micro-frontends webpack rspack vite code-sharing runtime-module-loading nextjs react-native javascript nodejs web-server
10 sources
- readme: https://github.com/module-federation/core · fetched 2026-08-28 · 4ebbc1d79ee2
- homepage: https://module-federation.io/ · fetched 2026-08-29 · 344ed05b5534
- site_page: https://module-federation.io/integrations/index.html · fetched 2026-08-29 · 781ebc6b949b
- site_page: https://module-federation.io/integrations/build-tool/rsbuild.html · fetched 2026-08-29 · 8b73021fce69
- site_page: https://module-federation.io/integrations/build-tool/rslib.html · fetched 2026-08-29 · 0bef99a8a8f3
- site_page: https://module-federation.io/integrations/build-tool/rstest.html · fetched 2026-08-29 · 4d44fea05aab
- site_page: https://module-federation.io/integrations/build-tool/vite.html · fetched 2026-08-29 · bf6721326e3c
- site_page: https://module-federation.io/integrations/bundler/rspack.html · fetched 2026-08-29 · 1fee690b8d94
- site_page: https://module-federation.io/integrations/bundler/webpack.html · fetched 2026-08-29 · 04088093cc1c
- site_page: https://module-federation.io/integrations/bundler/metro.html · fetched 2026-08-29 · 1027b338ad63
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| module-federation/core | main | 95 |
| module-federation/module-federation-examples | examples | 73 |
For agents
markdown · JSON · MCP: product_card(name="module-federation/core")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem