Host and Remote Applications
Learn the distinction between host and remote applications in a federated setup and their roles.
What are Hosts & Remotes?
In Module Federation, applications play distinct roles: some are hosts, and others are remotes. Think of it like a main stage (host) that invites guest performers (remotes) to share their acts.
This setup allows large applications to be broken down into smaller, independently developed and deployed pieces.
The Host: Your Main App
The Host application is the primary application that boots up first. Its main job is to consume (or load) modules that are exposed by other applications, called Remotes.
It's like the main website that pulls in different widgets or sections from other services.
All lessons in this course
- Webpack Fundamentals Review
- Introducing Module Federation
- Host and Remote Applications
- Configuring Shared Dependencies