lbry-desktop/ui/redux
infinite-persistence 97b9b733c6
Fix memo: selectMyActiveClaims, selectAbandoningIds
## Issue
- selectMyActiveClaims memo problem -- being recalculated on every click -- high workload for wallet with large uploads.
- Mistake in handling abandoning IDs (it was trying to extract keys from an array)

## Changes
- selectAbandoningIds: never use `state` as an input selector. Breaks memo.
- Don't use selectMyClaimsRaw and then reduce it back to IDs. Use selectMyClaimIdsRaw instead.
- selectAbandoningIds is already in array form, so don't run Object.keys.
- Fix abandoningById never clearing when succeeded.
2021-11-10 09:58:26 +08:00
..
actions Block: pass comment ID for deletion when being blocked. (#255) 2021-11-09 09:43:02 -05:00
middleware Track duration of startup events 2021-10-22 16:02:21 +08:00
reducers Fix memo: selectMyActiveClaims, selectAbandoningIds 2021-11-10 09:58:26 +08:00
selectors Fix memo: selectMyActiveClaims, selectAbandoningIds 2021-11-10 09:58:26 +08:00