mithril-machine-tools
mithril-machine-tools copied to clipboard
Link to flems for sample usage
Until you get the time to write real docs, it would be nice to add flems links in the README with sample usage.
Turning this into an Island may be a nice example (self-contained, updated often).
Edit: updated the timing a bit for better emulate the original (pauses at both ends of the phases).
Edit2: actually, maybe not... There's a lot of code that's not Island-related, and it muddles the demo.
This is about a high frequency subtree localised redraw, right? Island may yet make it into the release … Are were saying 👇 ?
m(Island, localRedraw =>
m('div', {onclick: () => (
demanding(),
localRedraw(),
false
)}),
)