Initial lazy-load and code-splitting #2387

Merged
skhameneh merged 2 commits from lazy-load into master 2019-04-01 04:38:27 +02:00
skhameneh commented 2019-03-27 05:41:42 +01:00 (Migrated from github.com)

This could probably be merged, merge if you'd like to be aggressive on testing.

Working on more additions.

This could probably be merged, merge if you'd like to be aggressive on testing. Working on more additions.
tzarebczan (Migrated from github.com) reviewed 2019-03-27 05:41:42 +01:00
neb-b (Migrated from github.com) reviewed 2019-03-27 06:41:10 +01:00
@ -38,7 +39,12 @@ class AudioVideoViewer extends React.PureComponent<Props> {
sources,
};
neb-b (Migrated from github.com) commented 2019-03-27 06:41:10 +01:00

Can we just use this.player?

Can we just use `this.player`?
neb-b (Migrated from github.com) reviewed 2019-03-27 06:41:55 +01:00
neb-b (Migrated from github.com) commented 2019-03-27 06:41:55 +01:00

Don't need

Don't need
neb-b (Migrated from github.com) reviewed 2019-03-27 06:43:56 +01:00
@ -38,7 +39,12 @@ class AudioVideoViewer extends React.PureComponent<Props> {
sources,
};
neb-b (Migrated from github.com) commented 2019-03-27 06:43:56 +01:00

I see it's added in a few places, do we need it?

I see it's added in a few places, do we need it?
skhameneh (Migrated from github.com) reviewed 2019-03-27 06:44:17 +01:00
skhameneh (Migrated from github.com) commented 2019-03-27 06:44:16 +01:00

It's useful to see what's actively building

It's useful to see what's actively building
skhameneh (Migrated from github.com) reviewed 2019-03-27 06:44:37 +01:00
@ -38,7 +39,12 @@ class AudioVideoViewer extends React.PureComponent<Props> {
sources,
};
skhameneh (Migrated from github.com) commented 2019-03-27 06:44:36 +01:00

Since there's arrow fn's, yes

Since there's arrow fn's, yes
neb-b (Migrated from github.com) reviewed 2019-03-27 17:42:20 +01:00
@ -38,7 +39,12 @@ class AudioVideoViewer extends React.PureComponent<Props> {
sources,
};
neb-b (Migrated from github.com) commented 2019-03-27 17:42:20 +01:00

Arrow fn's don't scope this. If it was a regular function you would need it.

Arrow fn's don't scope `this`. If it was a regular function you would need it.
neb-b (Migrated from github.com) reviewed 2019-03-27 18:02:00 +01:00
@ -38,7 +39,12 @@ class AudioVideoViewer extends React.PureComponent<Props> {
sources,
};
neb-b (Migrated from github.com) commented 2019-03-27 18:02:00 +01:00
We have something similar here https://github.com/lbryio/lbry-desktop/blob/master/src/ui/component/fileViewer/internal/player.jsx#L286
neb-b (Migrated from github.com) reviewed 2019-04-01 04:01:15 +02:00
@ -38,7 +39,12 @@ class AudioVideoViewer extends React.PureComponent<Props> {
sources,
};
neb-b (Migrated from github.com) commented 2019-04-01 04:01:15 +02:00

Seems to work ok with this

Seems to work ok with `this`
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-desktop#2387
No description provided.