Uncategorized

What actually is CSS in JS?

CSS in JavaScript is controversial – and may well be worth a look, not just for React developers. We present the concept and formulate questions that can help you when deciding on the CSS-in-JS library.

Basically, the principle is simple: Instead of style sheets, you pack your CSS in components. Choosing the right CSS-in-JS library can be difficult with almost 50 options, and in the end it depends on your particular use case. However, all libraries have some properties in common: Scoped CSS ✔️ All CSS-in-JS libraries generate unique …

read more at t3n.de
Become a t3n-Pro member now

Leave a Reply

Your email address will not be published. Required fields are marked *