-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Current behavior:
We want to have all of our CSS written directly into the documents head (for whatever reason). To enable this behavior, we are using the sheet.speedy
option and provide it via the cache provider. Every styled component CSS gets written to the document head, only styles given to the <Global>
element won't show up there.
It seems to be the case, that the global stylings are only get rendered to the head, when the NODE_ENV
is set to development
(or just not set to production
, don't know). The speedy option seems to be fully ignored here.
Expected behavior:
The speedy option is prioritized over the current NODE_ENV
setting for every functionality related to it.
Environment information:
react
version:^16.8.6
emotion
version:^10.0.27
zry656565 and hason