From Stylish to Sluggish: The Hidden Costs of CSS-in-JS

from blog Mensur Duraković, | ↗ original
If you've used modern web frameworks like React, Angular, or Vue, you've probably encountered CSS-in-JS tools like Styled Components, Emotion CSS, or JSS. These tools let you write CSS using JavaScript, which can be handy. However, CSS-in-JS has a big drawback: it's slower than