Handle lbry:// url scheme, and download notification fixes. #139

Merged
akinwale merged 2 commits from download-notifications into master 2018-05-25 09:13:06 +02:00
akinwale commented 2018-05-25 04:14:12 +02:00 (Migrated from github.com)
No description provided.
skhameneh (Migrated from github.com) reviewed 2018-05-25 04:14:12 +02:00
neb-b (Migrated from github.com) approved these changes 2018-05-25 05:26:40 +02:00
neb-b (Migrated from github.com) left a comment

Just one question but looks good

Just one question but looks good
neb-b (Migrated from github.com) commented 2018-05-25 05:24:00 +02:00

Does this work? I wouldn't think it has access to this since it's an arrow function

Does this work? I wouldn't think it has access to `this` since it's an arrow function
akinwale (Migrated from github.com) reviewed 2018-05-25 09:04:09 +02:00
akinwale (Migrated from github.com) commented 2018-05-25 09:04:09 +02:00

Apparently, it does. The docs say it's experimental, however. It's called "public class fields syntax" on the page at https://reactjs.org/docs/handling-events.html.

I found out about it at https://medium.freecodecamp.org/react-binding-patterns-5-approaches-for-handling-this-92c651b5af56. It's the 5th item in the list.

Apparently, it does. The docs say it's experimental, however. It's called "public class fields syntax" on the page at https://reactjs.org/docs/handling-events.html. I found out about it at https://medium.freecodecamp.org/react-binding-patterns-5-approaches-for-handling-this-92c651b5af56. It's the 5th item in the list.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#139
No description provided.