Comment Comment by fuzionmonkey This is simply not true. Many CSS-in-JS libraries support build or render-time extraction of CSS, which takes care of your first criterion.Many CSS-in-JS libraries also handle style modularization, often in ways arguably better than CSS preprocessors. There's a lot of variety here.I'm not sure what you mean by "faster than CSS". CSS can be fast or slow, depending on how the CSS is written.You should take a look at: https://github.com/MicheleBertoli/css-in-js parent fuzionmonkey 10 years ago
Many CSS-in-JS libraries also handle style modularization, often in ways arguably better than CSS preprocessors. There's a lot of variety here.
I'm not sure what you mean by "faster than CSS". CSS can be fast or slow, depending on how the CSS is written.
You should take a look at: https://github.com/MicheleBertoli/css-in-js