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

Make optimizations for withMediaProps components easier #28

Open
souporserious opened this issue Apr 17, 2017 · 0 comments
Open

Make optimizations for withMediaProps components easier #28

souporserious opened this issue Apr 17, 2017 · 0 comments

Comments

@souporserious
Copy link
Owner

Since we're most likely building UI controls with the withMediaProps HoC. I think having the ability to whitelist or even blacklist updates that we don't care about could be cool.

Would look something like:

export default withMediaProps(PlayPause, 'isPlaying')

This way we can optimize the component in the HoC instead of having to wire that up on every control component.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant