lbry-desktop/ui/redux/selectors
infinite-persistence e35069de1c
Cache the processing of ChannelMentionSuggestions (#309)
## Issue
One of the bottlenecks of livestream page.

The component probably needs a re-design:
- Don't perpetually mount -- only mount when activated by the user through "@". This would avoid the heavy processing entirely.
- Better way of resolving uris (too many arrays, too many loops).
- Tom also mentioned that we should not be resolving every commenter as we see encounter them in a livestream. This is currently the case because the component is always mounted.

## Changes
Until the re-design occurs, attempt to cache the heavy processing. Also, trimmed down the amount of loops.
2021-11-17 11:47:56 -05:00
..
app.js Fix memo: stake indicator 2021-11-11 10:23:28 +08:00
blocked.js Skip muted list update if no change 2021-10-19 21:15:26 +08:00
claims.js Fix url selectors 2021-11-17 19:57:04 +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 Slice the comments before filtering to avoid going through everything. 2021-11-17 18:15:59 +08:00
content.js Optimize makeSelectClaimIsNsfw (and it's surrounding friends) 2021-11-16 10:14:01 +08:00
file_info.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
livestream.js Cache the processing of ChannelMentionSuggestions (#309) 2021-11-17 11:47:56 -05:00
notifications.js Don't memoize selectors without transformation 2021-10-24 13:05:06 +08:00
publish.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05: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 Simplify makeSelectIsUriResolving 2021-11-16 14:32:58 +08:00
settings.js Simplify selectShowMatureContent 2021-11-16 12:04:40 +08:00
subscriptions.js Cache subscription uris if we're gonna map it often. 2021-11-17 18:16:00 +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