Front-end teams spend most of their energy optimizing what they can measure: Bundle size, API latency, expensive renders, caching and Lighthouse recommendations. Core Web Vitals improve, dashboards turn green and none of it answers a different question: How tightly are the parts of the application coupled? The distinction matters because a front end can become measurably faster while becoming measurably harder to change. Performance tooling observes the application at runtime. It says almost nothing about what happens when developers modify it.

Performance and Changeability Are Different Dimensions

The optimization loop is familiar: A heavy bundle leads to code splitting, expensive rendering to memoization or list virtualization and slow requests to caching and CDN work. These are all tracked through Core Web Vitals and build metrics. None of those numbers reveals the dependency structure underneath: How many modules import a given module (afferent coupling, Ca), how many modules it reaches out to (efferent coupling, Ce), how unstable it is (I = Ce/(Ca + Ce)) or whether the module graph contains cycles.

That structure is measurable too. Tools such as dependency-cruiser, madge and Nx can compute it in CI, while ESLint boundary rules can enforce it. However, almost nobody puts those numbers next to their Lighthouse scores.

The gap shows up in ordinary work. A request as small as “remember the selected project after refresh” hides an ownership decision: Component, global store, URL or server cache? When nobody answers explicitly, the state lands wherever is convenient; a second feature reads it and a third mutates it. Runtime metrics do not move as the dependency graph quietly gains edges, often creating a cycle.

What the Data Actually Shows

A recent controlled comparison makes the two dimensions visible side by side. Maljanovic implemented the same React/Vite application twice — as a modular monolith and as a shell composing eight Module Federation remotes, one per business domain — and evaluated both implementations across structural metrics (coupling, cohesion and cycles from a custom dependency-graph script), production build time, emitted bundle output, ESLint findings and Lighthouse runtime performance.

The structural story favors the micro-front ends: Higher cohesion and zero dependency cycles against the monolith’s one. The reported runtime story reverses completely (Figure 1): Every Lighthouse timing is several times worse, the emitted JavaScript is roughly 27x larger and the build is roughly 10x slower. Better architectural separation did not result in better performance, at least not as measured here, and the ‘as measured’ matters.

Figure 1: Lighthouse Timings

The two reports were generated with different presets (mobile versus desktop), so the absolute values are indicative rather than strictly comparable.

Reading the Data Like a Practitioner

A practitioner has to read these numbers carefully. The 27x gap is largely a result of how bundle size was measured. The study sums the JavaScript emitted by the shell and all eight remotes. Under Module Federation, shared libraries can still be emitted in each build as fallbacks, even when the runtime uses a single shared instance. The reported figure therefore measures duplication on disk, not necessarily duplication on the wire.

The runtime results are also less conclusive than they first appear. There were more requests and script fetches in the micro-front-end application, but the two Lighthouse reports used different presets, making their absolute values ‘not strictly comparable’. The build-time gap deserves the same care: 113.84 seconds is the wall-clock for the shell plus eight remotes, while incremental rebuilds were not measured. As a result, the metric that actually improves under micro-front ends, rebuild scope per change, is absent by construction.

Nevertheless, the measurement artifact points at the real operational risk. Where sharing is not configured — which is the default outcome unless engineering effort is spent — what Cam Jackson’s widely cited treatment warns of occurs: “If every micro front end includes its own copy of React, then we’re forcing our customers to download React n times.”

Vendor payload grows linearly with the number of remotes (Figure 2). Two disciplines follow: Measure delivered bytes at the network layer, never summed build artifacts, and treat the shared scope as a versioned contract between remotes, not a build flag.

Figure 2: Vendor Payload With and Without Dependency Sharing — an Illustrative Model With Stated Per-Remote Sizes

Duplication grows linearly with remote count unless shared singletons hold it to one copy.

None of this invalidates the study, but it sharpens it. Its durable contribution is methodological. Architecture and performance are measured as separate dimensions, with limitations stated candidly. The verdict in any given organization depends on how well the integration layer is engineered and how honestly it is measured.

A Case From Practice

The pattern I keep meeting in enterprise shells — a host application with product remotes, lately joined by rapidly multiplying AI assistant surfaces — is that coupling grows exactly where performance dashboards do not look. AI remotes make it acute: They arrive with heavy dependencies (markdown rendering, sanitization, syntax highlighting) that must live in the shared scope or be duplicated per remote.

The working discipline is boring and effective: An ownership map written before the code (the URL owns shareable filters, the server cache owns persisted entities and each surface owns its ephemeral UI state), a versioned contract at every remote-to-shell seam and a CI gate that fails a merge on any new dependency cycle. Once cycles are gated at zero, the number worth watching is the blast radius, meaning the modules touched by each change. When its median drifts up, boundaries erode long before any user-visible metric notices.

What Teams Should Measure

Three practices follow.

First, define ownership before writing code. Every significant piece of state gets one owner, such as a client store, server cache, route or derived layer.

Second, measure architecture separately from performance: Cycles, coupling, cohesion and modules-affected-per-change, alongside Lighthouse and bundle size, with the graph tooling in CI rather than in a one-off audit.

Third, introduce boundaries only against real forces: Independent deployment, ownership or scaling. More modules are not better architecture. The study concludes that for most small-to-medium applications, the modular monolith offers the best cost–benefit ratio, with micro-front ends earning their overhead where teams are distributed and releases must be decoupled. Jackson’s caution is organizational: Many small things demand the maturity to run them without chaos.

Conclusion

Performance work remains necessary. The mistake is treating its metrics as the complete picture of front-end quality. A front end answers two questions: ‘How fast is it?’ and ‘How hard is it to change?’ Only the first has dashboards by default. Give the second its own numbers: Cycles gated at zero, instability per module and blast radius per change. Whether your front end is fast today is the less interesting question. Whether its structure lets the next change stay small is the question that compounds over time.

Frequently Asked Questions

1. Can a front end become faster but harder to maintain?
Yes. Runtime optimisations can improve performance while architectural coupling and dependency complexity continue to increase.
2. What metrics reveal front-end architectural health?
Module coupling, cohesion, instability, dependency cycles and the number of modules affected by each code change.
3. When should teams adopt micro-front ends?
When independent deployment, distributed ownership or scaling requirements justify the additional infrastructure and integration complexity.