7afe2c58b0
## Ticket "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. |
||
---|---|---|
.. | ||
internal | ||
index.js | ||
view.jsx |