3 webcomponents (vanilla, React & Vue) are managed by a main Elm logic (providing data and event Handlers)
git clone [email protected]:err0r500/microfrontends.git
cd microfrontends
npm install
npm run start
Build dumb components in whatever framework you're comfortable with and let Elm shine with the app's logic
- the detail field in the dispatchEvent methods is an array for every component because it's enforced with the Vue wrapper so we don't have to provide different event decoders in Elm.
- injects dynamically scripts in head (html imports are deprecated)