MathiasGilson/Tailwind-Styled-Component

Question: Does this library add the css in at runtime or compile time?

alok-pandit opened this issue · 2 comments

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.

Nope this is at runtime only. Not sure how to do it a compile time without have a dedicated webpack/babel/vite plugin

@MathiasGilson if it's being used with SSR, wouldn't the performance of it running at runtime not really be an issue?