@loadable/components ChunkExtractor
Has lost compatibility with Webpack 5 Stable Release. While the convention in their does work. You'll need to find an alternative to SSR code splitting until its fixed by @theKashey. react-imported-component could be a solution.
This example demos a basic host application loading remote component.
website1is the host application.website2standalone application which exposesHeadercomponent.
Run yarn build && yarn serve. This will build and serve both website1 and website2 on ports 3001 and 3002 respectively.
- localhost:3001 (HOST)
- localhost:3002 (STANDALONE REMOTE)