lbry-desktop/ui
infinite-persistence 0f68bad3eb
Optimize selectClaimIsMine
## Why
Frequently used; top in perf profile

## Changes
Most of the time, you already have the claim object in the current context. `selectClaimIsMineForUri` will retrieve the claim again, which is wasteful, even if it is memoized (looking up the cache still takes time).

Break apart the logic and added the alternative `selectClaimIsMine` for faster lookup.
2021-11-11 16:10:06 +08:00
..
component Optimize selectClaimIsMine 2021-11-11 16:10:06 +08: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 Optimize selectClaimIsMine 2021-11-11 16:10:06 +08:00
redux Optimize selectClaimIsMine 2021-11-11 16:10:06 +08: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