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

Upcoming API changes in styled-components v4 #55

Closed
quantizor opened this issue Aug 15, 2018 · 0 comments
Closed

Upcoming API changes in styled-components v4 #55

quantizor opened this issue Aug 15, 2018 · 0 comments

Comments

@quantizor
Copy link
Contributor

Just a heads-up that we will be making some top-level API changes in v4 that may affect your library.

  1. injectGlobal is being removed
  2. createGlobalStyle is being added

createGlobalStyle can likely inherit any syntax highlighting rules you may have been using for injectGlobal, styled.* etc.

More info: styled-components/styled-components#1867

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

No branches or pull requests

1 participant