o0101 / good.html

💎 Good.HTML. A nice framework without the bad stuff. Lots of custom elements, and nice templates. Good. HTML
https://o0101.github.io/good.html/
MIT License
21 stars 2 forks source link

[perf] add flag to work scheduler to allow it to be switched off once component is built #26

Closed o0101 closed 3 years ago

o0101 commented 3 years ago

so work scheduler falls back to good old list.map(func) if component already built.

so we have responsive loads and fast updates.

probably passing in some sort of node object into the state (under _node ?) so work scheduler can check this, (alreadyPrinted or whatever)

o0101 commented 3 years ago

Done. I added a fast update function. Still might want to look at adding a flag to allow scheduler to switch off if device is high spec.