Open souporserious opened 7 years ago
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.
withMediaProps
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.
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:
This way we can optimize the component in the HoC instead of having to wire that up on every control component.