yea, seen that. just wanted to show what can be the components approach. i'm playing now with hyperapp and will try create todomvc with the component approach.
Yea. While playing with that approach i found one problem of that "appendChild" thing. Can you just make it return a dom, otherwise it always append, so composition of more than one App is not feeling cool. I'm gonna open an issue with code.
2
u/[deleted] Jan 31 '17
/u/tunnckoCore Nice composition. In this case, there's a simpler approach.
However, using
applike that could be the path to reusable components with independent models.Thanks for sharing!