lbry-desktop/ui/redux
infinite-persistence 91f1f588e6
Slice the comments before filtering to avoid going through everything.
For the case of livestreams, the comments are added incrementally via websocket. The selector returns everything, which grows as a user watches the livestream.

We could even make it a bit more efficient by passing in `maxCount` to `filterComments`, and do a `for` loop there, but decided to keep things readable by not changing the `filter` usage.
2021-11-17 18:15:59 +08:00
..
actions remove tag sync 2021-11-17 03:09:26 -05:00
middleware Track duration of startup events 2021-10-22 16:02:21 +08:00
reducers Remove "same array" check now that USER_STATE_POPULATE only runs when there is new data. 2021-11-15 07:06:39 -08:00
selectors Slice the comments before filtering to avoid going through everything. 2021-11-17 18:15:59 +08:00