fix subscription notifications #52
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
consider soon
dependencies
documentation
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-react-native#52
Loading…
Reference in a new issue
No description provided.
Delete branch "sub-notifications"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your call on these, no second review required
you can use
.includes
you can declare this as
const isPlayable = source && ....
and avoid an extra assignmentyou could call
Lbry.resolve({ urls: uris})
rather than call for each URI, which I would have thought is more performant, but maybe this approach lets results show faster?Considering the way the data is structured (a collection of channel names mapped to a list of urls) I didn't think it was necessary to add extra code to build a new list entirely (all the urls to resolve), and then loop over them afterwards.