mmontag/chip-player-js

Update TimeSlider outside of React

Opened this issue · 0 comments

The TimeSlider updates about 20 times per second.
Since it uses React setState, this means a constant churn of React objects, on the order of 850 KB per second or 40 KB per update.

This also could mean some overhead from unnecessary DOM listeners, layout, and rendering events, as compared to doing this with raw DOM manipulation.

image