Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add MediaLoader to components list #4070

Merged
merged 1 commit into from
Feb 15, 2017

Conversation

mister-ben
Copy link
Contributor

Updated list.

As an aside, should the loader's div have a class so it's obvious what it is when looking at the DOM?

@gkatsev
Copy link
Member

gkatsev commented Feb 13, 2017

I wonder if we should just get rid of it altogether.

@gkatsev gkatsev added this to Ready for Review in 6.0 Feb 13, 2017
@gkatsev
Copy link
Member

gkatsev commented Feb 13, 2017

I don't think a div is necessary. For example, in the React community, they've found a pretty nice pattern of having container and presentational components. container components usually don't have any UI associated with them while presentational components do. Though, both are React Classes. I would put the MediaLoader is a category similar to the container component, so, it doesn't require one.

@gkatsev gkatsev moved this from Ready for Review to Ready to Merge in 6.0 Feb 13, 2017
@brandonocasey brandonocasey merged commit 65dc81a into videojs:master Feb 15, 2017
@brandonocasey brandonocasey moved this from Ready to Merge to Done in 6.0 Feb 16, 2017
gkatsev pushed a commit that referenced this pull request Feb 21, 2017
MediaLoader has a div that's unnecessary. See #4070. Also, make sure that Component#dispose does a null check for the element.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
6.0
Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants