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
This is an example of both types and linting being enforced by the same systems as the rest of your code https://github.com/typestyle/typestyle …pic.twitter.com/ggv9BTeHic
4 replies 9 retweets 45 likes -
Replying to @rauchg
: sooooooo sloooowwwwwww. Please don't encourage this :-/
2 replies 0 retweets 2 likes -
Replying to @slightlylate @rauchg
are you saying that inline styles are considerably slower than CSS? Any benchmarks/data to share?
1 reply 0 retweets 0 likes
Replying to @oif_vet
: putting your styles in script delays all processing of them until script runs. Inline not great, but it's complicated.
7:32 AM - 27 Nov 2016
0 replies
0 retweets
1 like
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.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.