lbry-desktop/ui
infinite-persistence 6f8758c819
Fix and optimize makeSelectIsSubscribed (#273)
## Issues with `makeSelectIsSubscribed`
- It will not return true if the uri provided is canonical, because the compared subscription uri is in permanent form. This was causing certain elements like the Heart to not appear in claim tiles.
- It is super slow for large subscriptions not just because of the array size + being a hot selector, but also because it is looking up the claim twice (not memo'd) and also calling `parseURI` to determine if it's a channel, which is unnecessary if you already have the claim.

## Changes
- Optimize the selector to only look up the claim once, and make operations using already-obtained info.
2021-11-12 09:47:07 -05:00
..
component Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
constants Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
effects Remove use-history-nav.js 2021-11-09 16:03:37 +08:00
modal selectClaimIsMineForUri to replace makeSelectClaimIsMine 2021-11-10 16:49:12 +08:00
page Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
redux Fix and optimize makeSelectIsSubscribed (#273) 2021-11-12 09:47:07 -05:00
scss Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
util Adjust channel mention regex (#269) 2021-11-10 14:53:42 -05:00
analytics.js Track duration of startup events 2021-10-22 16:02:21 +08:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Comment Moderation - time based bans 2021-09-03 07:17:56 +08:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
lbry.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js Support resume-able upload via tus (#186) 2021-11-10 13:16:16 -05:00
rewards.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
store.js Additional GA events via redux/lbryio hook 2021-10-22 10:56:43 +08:00