captbaritone / webamp

Winamp 2 reimplemented for the browser
https://webamp.org
MIT License
10.02k stars 663 forks source link

Pull marquee stepping out of Redux #1063

Open captbaritone opened 3 years ago

captbaritone commented 3 years ago

Marquee stepping happens continuously at a relatively rapid frequency. Keeping this data in Redux means we need to run many selectors every time we step. By moving this state into React local state we can reduce the amount of work that is needed on each step.

github-actions[bot] commented 3 years ago

Size Change: -56 B (0%)

Total Size: 450 kB

Filename Size Change
./packages/webamp/built/webamp.bundle.min.js 272 kB -31 B (0%)
./packages/webamp/built/webamp.lazy-bundle.min.js 178 kB -25 B (0%)

compressed-size-action