DEV Community

Discussion on: You dont need CSS-in-JS #1: Why?

Collapse
 
reritom profile image
Tomas Sheers

I'm sensing just a little bit of bias in this post. It's a bit unfair to add negative remarks to recap of the CSS in JS benefits while adding positive remarks to the CSS in CSS recap.

I agree with the point Agney made. In a lot of cases, the style of a component is very much linked with it, so having the style clearly presented in the same file as the component js is beneficial.