I followed your example but I was confused for about 1.5 hours when I copied your use of m.render without realizing that redraw would be disabled (I'm very new to Mithril).
Hey, thanks for the suggestion and apologies for the confusion! It's true that the auto redraw functionality lies in .mount(..). I'll put a more concrete example to the repo.
I followed your example but I was confused for about 1.5 hours when I copied your use of m.render without realizing that redraw would be disabled (I'm very new to Mithril).
In index.js I suggest you replace this:
With something like this (untested):