mithril-machine-tools icon indicating copy to clipboard operation
mithril-machine-tools copied to clipboard

Link to flems for sample usage

Open pygy opened this issue 7 years ago • 2 comments

Until you get the time to write real docs, it would be nice to add flems links in the README with sample usage.

pygy avatar Apr 07 '18 10:04 pygy

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.

pygy avatar Apr 07 '18 12:04 pygy

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 
  )}),
)

barneycarroll avatar Jan 17 '21 06:01 barneycarroll