lbry-desktop/ui/effects
infinite-persistence 0143b63c74 Ads: replace DOM manipulations with React components
- Instead of 2 ways to display ads (DOM injection + React method) and having both of them clash, just do it the predictable React way.
    - Augment the existing React version to support tile layout + ability to place in last visible slot.
    - Consolidate styling code to scss ... DOM manipulations were making it even harder to maintain.
    - Removed the need to check for ad-blockers for now. It was being executed every time an ad is displayed, and now that we are displaying ads in more places, the gains doesn't justify the performance loss. Also, it wasn't being done for Recommended ads anyway, so the inconsistency probably means it's not needed in the first place.

Other known issues fixed:
- double ad injection when changing language via nag.
- additional "total-blocking-time" due to ads at startup removed.
- fixed ads not appearing in mobile homepage until navigated away and back to homepage.
- enable ads in channel page.
- support for both List and Tile layout.
2022-03-08 10:53:52 -05:00
..
use-combined-refs.js fixes button hover 2019-11-19 16:28:59 -05:00
use-connection-status.js Fix "you are offline" nag being stuck 2021-12-22 12:41:05 +08:00
use-debounce.js Add channel list filter 2022-02-01 10:20:00 -05:00
use-drag-drop.js Support drag-and-drop file publishing (#4170) 2020-05-25 10:27:36 -04:00
use-fetch-view-count.js Livestream category improvements (#7115) 2021-09-24 10:26:21 -04:00
use-fetched.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
use-get-ads.js fetch ads provider for all homepage videos (but still only show ads for unauth users) 2021-04-26 16:38:33 -04:00
use-get-thumbnail.js wip 2021-06-08 13:25:52 -04:00
use-hover.js fix: better hover use-effect 2020-04-23 13:10:41 -04:00
use-interval.js Switch unnecessary let to const 2022-03-02 20:20:27 -08:00
use-is-mounted.js prevent state updates after component unmounted 2020-05-13 10:18:36 -04:00
use-last-visible-item.js Ads: replace DOM manipulations with React components 2022-03-08 10:53:52 -05:00
use-lazy-loading.js Fallback image for <FileThumbnail> 2021-08-17 19:46:54 -07:00
use-lighthouse.js Desktop cherry-pick: "7240 Integrate lbry redux and lbryinc" 2021-10-19 20:40:07 +08:00
use-on-resize.js fix useScreensize 2022-02-07 10:18:50 -05:00
use-persisted-state.js MAKE ODYSEE EVEN MORE BEAUTIFUL (#539) 2022-02-11 13:50:55 -05:00
use-play-next.js [Fix] revert fileRenderFloating vs Mobile change (#937) 2022-02-23 16:13:22 -05:00
use-previous.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
use-screensize.js Fix/use has window width changed enough (#894) 2022-02-16 14:08:57 -05:00
use-stream-file.js prevent state updates after component unmounted 2020-05-13 10:18:36 -04:00
use-stream.js flow fixes 2020-12-16 10:52:22 -05:00
use-throttle.js Refactor channelMention suggestions into new textareaSuggestions component 2021-12-09 15:35:40 -05:00
use-tween.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00