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.
-
-
Replying to @rauchg @ryanflorence
What ever happened to "best tool for the job"? I guess JS is not the best tool for every job?
6 replies 3 retweets 20 likes -
Replying to @wycats @ryanflorence
if you assume JS (esp. ES6+JSX) as the starting point, would you create a new *syntax* to style your components?
4 replies 0 retweets 10 likes -
-
I actually like a lot about CSS and the separation from JS. See http://pcwalton.github.io/slides/webrender-talk-022016/ …
2 replies 5 retweets 29 likes -
Replying to @ryanflorence @rauchg
this is not a minor thing.pic.twitter.com/PrWqZhbwMv
2 replies 0 retweets 10 likes -
Replying to @ryanflorence @rauchg
good convo. probably worth continuing in various forms via continued real-world exploration. Keep on keeping on!
1 reply 0 retweets 2 likes -
to me, it matters little how it's written as long as maintenance is taken into account. Both can be nice.
2 replies 0 retweets 5 likes
totally agree, although CSS-in-CSS has a lot out-of-the-box it's easy to forget about.
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.