Versioning, Deployment, and Orchestration
Deploy remotes independently with semantic versioning, manage shared library conflicts, and coordinate releases.
Independent Deployment: The Core Value
Module Federation's primary value is independent deployment: a team can update, test, and deploy their remote without coordinating with host teams or triggering host redeployments. The host picks up changes automatically the next time it loads remoteEntry.js from the remote's URL.
Versioning Remote URLs
Instead of serving remoteEntry.js at a fixed URL (which changes on every deploy), include a content hash in the URL: remoteEntry.[hash].js. This makes each deployment immutable — old URLs continue working, and the host references the new hash once it is updated to the new deployment. Immutable URLs enable aggressive CDN caching.
All lessons in this course
- Module Federation: Dynamic Runtime Imports
- Configuring Host and Remote React Apps
- Sharing State and Routing Between Remotes
- Versioning, Deployment, and Orchestration