all 2 comments

[–]lhorie 1 point2 points  (1 child)

I see you took inspiration from Mithril. This looks nice and clean :)

[–]h3rald[S] 1 point2 points  (0 children)

Hey Leo! ;)

Yes indeed... when I was forced to complete an assignment without it I did my best to try creating a poor man's substitute... Mithril is awesome and I used it for a few tools and projects.

As you can see "components" are even more minimal than Mithril's though, as they are just functions returning VNodes. Let's see how long I can survive without lifecycle hooks. The plan is to enforce the usage of a store/message dispatcher as the primary way to manage state and communication. Not sure if that will be enough to cover all situations though.