- Set the environment variable
MAPBOX_ACCESS_TOKEN
- Run
yarn install
- Run
yarn bootstrap
- Run
yarn start
- Open http://localhost:3001.
Included apps:
- container (ReactJS - acts as the app shell): http://localhost:3001
- App #2 (ReactJS - plus is an aggregation with other remotes): http://localhost:3002
- App #3 (ReactJS): http://localhost:3003
- docs-svelte (SvelteJS): http://localhost:3004
- App #5 (LitElement): http://localhost:3005
- map-react (ReactJS): http://localhost:3006
- Authentication
- Dev environment stuff (prettier, eslint, etc)
There are a few options:
- Events
- In the route
- Separate pub-sub mechanism
- Xstate/rxjs orchestrator in container
- React context (ties us to react MFEs)
We will likely need some combination of these, but we should strive to divide MFEs so that we minimize the need for inter-app communication.
See docs-svelte
for a rough example using events.