This repository is to showcase examples on Webpack 5's new Module Federation can be used.
- Basic Host-Remote — App 1 consumes remote components from App2.
- Bi-Directional Hosts — App1 consumes App2 components; App2 consumes App1 components.
- Self-Healing — Fallback to remote apps vendors if a dependency fails to load.
- Server-Side Rendering — App1 and App2 with SSR.
- Nested Components — Nested remote components.
- Shared Context Provider — App1 and App2 with shared ContextProvider.
- Redux — Host with redux and remote component replacing reducer.
- Non-UI Module
- Routing
- Version Discrepancy
- TypeScript — Simple host/remote example using TypeScript.
- NextJS