Closed quantizor closed 6 years ago
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
injectGlobal
createGlobalStyle
createGlobalStyle can likely inherit any syntax highlighting rules you may have been using for injectGlobal, styled.* etc.
styled.*
More info: https://github.com/styled-components/styled-components/pull/1867
Done in release v2.6.
Sorry I forgot all about this in advance and only now saw a release-tweet, so I quickly added support for the keyword. 🙇
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 addedcreateGlobalStyle
can likely inherit any syntax highlighting rules you may have been using forinjectGlobal
,styled.*
etc.More info: https://github.com/styled-components/styled-components/pull/1867