Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

component: custom element wrapped in init(name, store, listOfUpdateFnPair)

view: uhtml or lit-html (don't use lit-element)

action: DOM event delegation for intercepting anything happens on view

model: a global store passed to when custom element is defined.

update: list of [selector, f({model, view}] pairs passed to when custom element is defined.

---

Congratulation we now have a self-contained Elm architecture.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: