Question: Does this library add the css in at runtime or compile time?
alok-pandit opened this issue · 2 comments
alok-pandit commented
Other similar libraries like twin.macro, convert the css-in-js to css at compile time. Wanted to know if this library does the same, or does it insert css at runtime like styled-components, since that is not mentioned anywhere in the README.
MathiasGilson commented
Nope this is at runtime only. Not sure how to do it a compile time without have a dedicated webpack/babel/vite plugin
demeralde commented
@MathiasGilson if it's being used with SSR, wouldn't the performance of it running at runtime not really be an issue?