lbry-desktop/ui/component/viewers
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
..
appViewer Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
threeViewer Fix and enable 3D viewer: #4035 2020-04-27 14:27:04 -04:00
videoViewer Debounce volume and muted state update. 2021-11-29 23:12:38 +08:00
codeViewer.jsx Remove alert 2020-02-07 09:21:28 -05:00
comicBookViewer.jsx fix comic-book content-type detection 2020-05-13 10:18:36 -04:00
documentViewer.jsx Improve CLS on Posts 2021-07-22 10:38:01 +08:00
docxViewer.jsx semi-broken 2020-04-29 11:00:42 -04:00
htmlViewer.jsx semi-broken 2020-04-29 11:00:42 -04:00
imageViewer.jsx Open ZoomableImage viewer when clicking on the image 2021-02-19 14:05:51 -05:00
pdfViewer.jsx semi-broken 2020-04-29 11:00:42 -04:00