css-in-js folks: do any of the libraries out there support a build step that extracts your styles into css files, as opposed to putting them all in js objects?
-
Show this thread
-
Replying to @AdamRackis
Dan Abramov Retweeted Sebastian
Maybe
@sebmck can tell about the approach he used somedayhttps://mobile.twitter.com/sebmck/status/1027276801372905472 …Dan Abramov added,
1 reply 0 retweets 13 likes -
Seems like this is similar? https://github.com/callstack/linaria …
1 reply 1 retweet 8 likes -
No, there's a more recent one we'll be using on the web. It's much more static.
1 reply 0 retweets 6 likes -
Our solution is: - Entirely statically analysable - Compiles to static CSS - Handles rule specificity for the engineer - Allows complex JS expressions involving pure values - Allows styles to be composed, while hiding specificity and more
1 reply 2 retweets 44 likes -
Selectors aren’t allowed at all. We consider them an antipattern due to how we write our React. Yeah that’s what I mean by pure.
2 replies 0 retweets 8 likes -
If we're both at React Conf then I can probably show you
-
-
Replying to @sebmck @giuseppegurgone and
Sounds good, I'm going to try and make it
0 replies 0 retweets 1 likeThanks. Twitter will use this to make your timeline better. UndoUndo
-
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.
he/him 