jabyrd3 / typeto.me2

Successor to typeto.me
8 stars 3 forks source link

more-efficient rendering #16

Closed jabyrd3 closed 7 months ago

jabyrd3 commented 7 months ago

on some events (keypress), we only need to update the last-message's dom node. it's not a huge deal but it'll save some cycles and is Correct. could even just update innerHTML instead of replacing the element

jabyrd3 commented 7 months ago

f0baf10

only changes innertext of last li on update, means less latency per keypress i fixed a couple other annoying small GUI issues too