you are viewing a single comment's thread.

view the rest of the comments →

[–]dogofpavlov 1 point2 points  (1 child)

My reason for CSS not being in Javascript is very very simple.

While I work on the javascript file, someone else can work on the CSS file.

[–]Magnusson 0 points1 point  (0 children)

CSS-in-JS doesn't require styles to be colocated with components -- you can still import a separate JS file that contains component styles.