dynamic-host-module-federation
dynamic-host-module-federation copied to clipboard
An environment-agnostic, federated host that consumes remote applications dynamically.
Dynamic Module Federation (Host App)
An environment-agnostic, federated host that consumes remote applications dynamically. Click here to see it live on Netlify.
Introduction
This stand-alone application dynamically consumes (hosts) the portion of the remote app that is exposed at runtime.
Features
- Supports a multi-environment setup (
dev,testing,stage, etc.) - Eliminate hard-coded URLs from your code and build tooling
- Connect to remote containers and negotiate libraries dynamically
- Supports remote container lazy-loading, chunk splitting, asset cache-busting, and Webpack merge
Installation
Install dependencies:
npm install
Usage
Run dev environment:
npm run dev
Navigate to local server:
Getting Started
See Tutorial - A Guide to Module Federation for Enterprise for more information and to learn how this repository works.
Notes
Run this project alongside the remote app.
Supplementary Repositories
This repository employs additional code from the following repositories:
License
MIT
