lbry-desktop/ui/component/viewers/videoViewer
infinite-persistence f5f3b08cca
Debounce volume and muted state update.
## Ticket
189: Overall React Lag or Extra Re-renders / Volume slider laggy since v0.48

## The problem
Every redux update results in each mounted component's prop mapping function (the `select` and `perform` stuff) to be recalculated. This is normal per redux, but we do lots of heavy stuff there.

The slider was sending tons of redux update for the Volume and Muted setting.

## Changes
The redux volume/muted setting is just used to restore vjs to the user's setting on the next video, so it doesn't need to be updated immediately/constantly -- vjs keeps it's own video settings.  Debounced that action.
2021-11-29 23:12:38 +08:00
..
internal Adds GDPR support (#311) 2021-11-23 10:21:33 -05:00
index.js Kill makeSelectClientSetting 2021-11-23 12:29:53 +08:00
view.jsx Debounce volume and muted state update. 2021-11-29 23:12:38 +08:00