An Interest In:
Web News this Week
- April 4, 2024
- April 3, 2024
- April 2, 2024
- April 1, 2024
- March 31, 2024
- March 30, 2024
- March 29, 2024
March 5, 2019 03:36 pm GMT
Original Link: https://mxstbr.com/thoughts/css-in-js/
Why I Write CSS in JavaScript
I'm never going to tell you that writing your CSS in CSS (or some syntactic preprocessor) is a bad idea. I think you can be perfectly productive and performant without any tooling at all. But, I also think writing CSS in JavaScript is a good idea for component-based styles in codebases that build all their components with JavaScript anyway.
In this article, Max Stoiber focuses on why to write CSS in JavaScript rather than how to do it. There is … Read article
The post Why I Write CSS in JavaScript appeared first on CSS-Tricks.
Original Link: https://mxstbr.com/thoughts/css-in-js/
Share this article:
Tweet
View Full Article