Skip to content

Conversation

gwn
Copy link

@gwn gwn commented Sep 21, 2019

This patch prevents the primary media state (this.state.media) and
the auxiliary media state (this.currentMediaState) from going out
of sync (which causes an obscure bug) in componentDidMount.

Probably the best fix would be to get rid of the redundant state completely, but that would require a bit more involved refactoring.

gwn added 3 commits September 21, 2019 12:08
This patch prevents the primary media state (this.state.media) and
the auxiliary media state (this.currentMediaState) from going out
of sync (which causes an obscure bug) in componentDidMount.
@gwn
Copy link
Author

gwn commented Sep 21, 2019

Sorry, just realized that this is an exact copy of #30

@gwn gwn closed this Sep 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant