Module Federation & SSR
summary
Shows how Module Federation wires independent builds into Next.js SSR so a remote can be changed and the composed page updates on server and client in roughly three to four seconds without hydration errors. Demonstrates concrete tools: webpack delegate modules that bundle the glue, a Medusa control plane using commit-hash versioning and a runtime graph, Edge worker and Node plugin hacks to stream chunks, and RS pack as a much faster Rust-based bundler; Next Federation v7 adds async startup to avoid eager sharing.
AI-written summary · about
