A big advantage of CSS in JS(X): One language (JS), not three (JS, HTML, CSS). One linter. One code style. One type system. One test system.
-
-
it's trivial to solve the separation with ES modules and component decoration. You can merge or separate at will
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
all I really know is my own experience and my increased productivity with inline styles shocks me.
@rauchg -
-
my inline styles turn into css. does that change anything?
@rauchg -
good convo. probably worth continuing in various forms via continued real-world exploration. Keep on keeping on!
-
to me, it matters little how it's written as long as maintenance is taken into account. Both can be nice.
-
this is my priority as well

-
I wrote about this a month or so ago: https://www.google.com/amp/s/css-tricks.com/on-style-maintenance/amp/?client=safari …
-
/me reads
- 6 more replies
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.