0.7.0 ON NPM · MIT
The React micro-frontend boilerplate that keeps going after day one. A shell and remotes on Module Federation 2.0 and Rsbuild, then typed env, GTM with Consent Mode, OpenTelemetry and 18 more features, added when you need them.
pnpm create mfeflow my-platformTypeScript · Rsbuild 2 · pnpm · Turborepo · oxlint
$ npm create mfeflow@latest my-app
✓ shell + catalog + cart, ready in 5.3 s
$ pnpm mfeflow dev
shell :4300 catalog :4311 cart :4312
$ pnpm mfeflow doctor
✓ one React · one tracer · one tag managermfeflow add env-t3 typed env, shell + remotesshell +32 KB max each remote +10 KB, in CI5.3 s
create to a running shell + 2 remotes
+160 ms
LCP against the same pages built as one app
26
features, each one command away
19
packages, versioned together
FEATURES
Code you own is copied into your project. Logic that needs fixes is installed as a package and upgraded with migrations. Third-party features are declarative and never run code.
$ pnpm mfeflow add telemetry-otel analytics-gtm
HOW IT WORKS
01
pnpm create mfeflow my-platformA shell, the remotes you name and the features you pick, in a pnpm and Turborepo monorepo.
02
pnpm mfeflow add event-bus httpTyped events between remotes, a fetch client over typed URLs. One command each.
03
pnpm mfeflow devThe shell and every remote on their own ports, with a dev registry that follows new remotes.
04
pnpm mfeflow doctor && pnpm mfeflow budgetOne React, one tracer, one tag manager. Bundle budgets in CI, with fixes it can apply.
FOR MANY TEAMS
The parts that break micro-frontends in year two are checked from day one.
React and other stateful libraries are shared once and checked at build and at run time, so two copies never ship.
The perf job holds LCP to +300 ms, the shell to +32 KB and each remote to +10 KB over the same pages built as one app.
Each remote has an mfeflow.app.json with its owner, routes and contracts, so check-compat and doctor know who breaks what.
A registry feature can add files, dependencies and namespaced scripts. It cannot run code on install or touch your CI.
IN PROGRESS · PHASE 05
Remotes are built once and stored by version. Deploy, promote and roll back will move a pointer in the registry index, on any static host or a small server with percentage rollouts. This is being built now; the docs will say when it ships.
catalog@2.3.1catalog@2.4.0index.jsonpnpm create mfeflow my-platform