lbry-desktop/ui/redux/selectors
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
..
app.js ChunkLoadError: ask user to reload instead of automatically reloading (#139) 2021-10-27 11:07:06 -04:00
blocked.js Skip muted list update if no change 2021-10-19 21:15:26 +08:00
claims.js Use 'selectHasChannel' instead of the full 'selectMyChannelClaims' 2021-11-08 15:02:44 +08:00
coinSwap.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
collections.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
comments.js Simplify superchat selectors - memo not required 2021-11-04 16:06:06 +08:00
content.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
file_info.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
livestream.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
notifications.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
publish.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
reactions.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
reportContent.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
rewards.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
search.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
settings.js Revert "Code-split homepages" 2021-10-28 01:33:46 +08:00
subscriptions.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
sync.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
tags.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
user.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
wallet.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00