This example demos bi-directional hosts each with their own remote components. We're sharing data aware components that use react suspense and relay hooks.
app1
exposes a<Profile />
component.app2
exposes a<Feed />
component, built withModal
from app3app3
exposes a<Modal />
component.app4
consumesapp1
,app2
,app5
,app6
exposed components, it also shares a router and composes routes fromapp6
app5
exposes a<About />
component.app6
exposes it's router, with<TermsOfService />
andPrivacy
components.server
is a shimmed graphql server.
Run yarn start
. This will build and serve both app1
, app2
and app3
on ports 3001, 3002 and 3003 respectively. It will also start the graphql server.