The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

hettlage (136) [Avatar] Offline
#1
It seems that the API for injecting global CSS has changed in version 4 of styled components; see https://www.styled-components.com/docs/api#helpers.
Dustin Schau (0) [Avatar] Offline
#2
There are a few areas where I think we'll need some follow-up modules or perhaps some tweaked content. Off the top of my head:

- injectGlobal -> createGlobalStyle
- styled-components supports _both_ objects and the css helper now (where I claim only emotion does)
- create-react-app v2 is out and does support CSS modules

So... noted--and thank you for the feedback!
Dustin Schau (0) [Avatar] Offline
#3
There are a few areas where I think we'll need some follow-up modules or perhaps some tweaked content. Off the top of my head:

- injectGlobal -> createGlobalStyle
- styled-components supports _both_ objects and the css helper now (where I claim only emotion does)
- create-react-app v2 is out and does support CSS modules

So... noted--and thank you for the feedback!