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

check object value equivalence before calling print [optimization] #10

Closed o0101 closed 3 years ago

o0101 commented 3 years ago

we already have minimal diffing, but this can help avoid unnecessary print calls which occur with descendants when the ancestors setState (which changes object references to all state objects sent to descendants by reference not by string key)