This example demonstrates a shell application loading remote components and rendering them server side using React 16, 17 and 18.
shell
is the host application which includes the SSR server (React v18.2.0).remote1
standalone application which exposesContent
component and consumesImage
fromremote2
(React v16.6.3).remote2
standalone application which exposesImage
component (React v17.0.2).
Run yarn
to install the dependencies.
Run pnpm run start
this will build and start all applications.
Bellow you can see the port mapping:
- localhost:3000 (SHELL)
- localhost:3001 (STANDALONE REMOTE1)
- localhost:3002 (STANDALONE REMOTE2)