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

Expose ThemeContext to enable static contextType support for React 16.6 #2152

merged 2 commits into from Oct 25, 2018


None yet
3 participants

imbhargav5 commented Oct 25, 2018

This PR attempts to fix #2148

The fix is to expose ThemeContext object for use as contextType

@imbhargav5 imbhargav5 force-pushed the bug/fix-2148 branch from 0014607 to d8f9d5e Oct 25, 2018


kitten approved these changes Oct 25, 2018

@kitten kitten merged commit 0cad756 into master Oct 25, 2018

3 checks passed

bundlesize ./dist/styled-components.min.js: 15.03KB < maxSize 16KB (gzip)(6B larger than master, careful!)
continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

@kitten kitten deleted the bug/fix-2148 branch Oct 25, 2018

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