lbry-desktop/ui/redux
infinite-persistence 79f1b1242d
Clear search cache instead of full reload on homepage 2nd-click (#930)
## Ticket
lbry-desktop 6841

## Issue
If you are already at the homepage and you click the "Home" or "Odysee" logo again, the entire page reloads, causing the whole startup sequence to re-run (lots of fetches).

This can be annoying when not intended (e.g. clicked too many times), as startup is slow for some and we also lose non-persistent Redux data (for debugging).

I believe the requirement was just to reload the homepage tiles, as they might be showing stale ones after a while. A full reload was the quick-and-easy fix.

## Approach
Best not to touch the complicated `ClaimTilesDiscover`, so just clear the search cache key in this scenario. `ClaimTilesDiscover` will then pick this up and perform a new `claim_search`.
2022-02-21 07:54:23 -05:00
..
actions Clear search cache instead of full reload on homepage 2nd-click (#930) 2022-02-21 07:54:23 -05:00
middleware Sync: handle fast-actions being reverted 2021-12-29 10:32:38 -05:00
reducers Clear search cache instead of full reload on homepage 2nd-click (#930) 2022-02-21 07:54:23 -05:00
selectors Limit channel-creation count from the UI (#886) 2022-02-16 09:14:08 -05:00