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

Fix Highlight component not updating themeDict #19

Merged
merged 1 commit into from
Dec 13, 2018
Merged

Conversation

kitten
Copy link
Contributor

@kitten kitten commented Nov 12, 2018

Fix #16

This doesn't use getDerivedStateFromProps to provide backwards compatibility without a polyfill. it also involves state in general since it's likely that the lib needs to rerender when the user prompts it too.

@pomber: Would you like to verify whether this solves the issue for you? :)

@kitten kitten merged commit 86c0572 into master Dec 13, 2018
@kitten kitten deleted the fix/16-theme-change branch December 13, 2018 12:52
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