Closed infinite-persistence closed 1 year ago
If someone can look at the problem under "Reproduce" and understand/fix the problem, that will be great.
Probably need this https://github.com/aackerman/circular-dependency-plugin
ui/analytics.js
imports lbryinc
, which imports ui/analytics.js
and its own selectors.
Repro: use
analytics.log
inselectors/blocklist
Problem
extras/lbryinc
couldn't be found, even though the code looks ok. Jessop's guess is that there is a circular-dependency somewhere. I managed to skipped the problem back then by moving the selector into another file.extras/recsys
in certain files (2) a very subtle bug that wasn't visible until you visit a page (see "Reproduce" below)Reproduce
https://github.com/lbryio/lbry-desktop/commit/9f58c529bc35a8799250d6398491effc76549d23 In this commit, we are just importing an action from another file. It looks normal and even compiles, but if you enter a File Page, it crashes because one distant (and unrelated) selector became undefined.
Potential fixes
ui/
, and the import issues should go away.