Skip to content

chloe-mc/mfe-poc

Repository files navigation

Getting Started

  1. Set the environment variable MAPBOX_ACCESS_TOKEN
  2. Run yarn install
  3. Run yarn bootstrap
  4. Run yarn start
  5. Open http://localhost:3001.

Included apps:

Live Links

Container Responsibilities

  • Authentication
  • Dev environment stuff (prettier, eslint, etc)

Developing Locally

Styling

Shared Assets

Git/PRs

Passing Data Between Apps

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published