lbry-desktop/ui/redux
infinite-persistence 0f1d4039a9
Use 'selectHasChannel' instead of the full 'selectMyChannelClaims'
- selectMyChannelClaims depends on `byId`, which currently is always invalidated per update, so it is not memoized.

- Most of the use-cases just needs the ID or the length of the array anyways, so avoid generating a Claim array (in selectMyChannelClaims) unnecessarily -- the client need to reduce it back down to IDs again :/

- The simpler boolean also removes the need to memoize the selector, which saves a bit of memory.
2021-11-08 15:02:44 +08:00
..
actions Add hints if an error occurs subscribing to notifications (#143) 2021-11-01 14:51:23 -04:00
middleware Track duration of startup events 2021-10-22 16:02:21 +08:00
reducers Don't invalidate myClaimIds everytime 2021-11-04 16:06:05 +08:00
selectors Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00