Skip to content

testing microfrontends with Elm & WebComponents

Notifications You must be signed in to change notification settings

kubraiscier/microfrontends

 
 

Repository files navigation

Microfrontends with Elm and webcomponents

Demo

Interactions

3 webcomponents (vanilla, React & Vue) are managed by a main Elm logic (providing data and event Handlers)

Test the app

git clone [email protected]:err0r500/microfrontends.git
cd microfrontends
npm install
npm run start

Motivation

Build dumb components in whatever framework you're comfortable with and let Elm shine with the app's logic

Notes

  • 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)

About

testing microfrontends with Elm & WebComponents

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 52.9%
  • Elm 36.5%
  • HTML 5.6%
  • Vue 5.0%