News for hackers. Stuff that matters.
Re:State of React and CSS by arcticfox on Monday April 04, 2016 @05:37PM (#11425896)
"Plain old CSS" is not plain old CSS: it's plain old CSS plus a pre-processor build step that you then have to integrate into the live functionality of your app.

CSS-in-JS just cuts out a whole swathe of tools and replaces them with what is essentially just JS. Even Radium is extremely limited, because just by inlining styles using pure JS most usecases are already covered.

Re:State of React and CSS by talmand on Monday April 04, 2016 @05:44PM (#11425961)
Well, plain old CSS is just plain old CSS. There's nothing forcing anybody to introduce a processor, pre or post, into the mix if one doesn't want it.
Re:State of React and CSS by arcticfox on Monday April 04, 2016 @11:06PM (#11427507)
Sure, but if you're talking about true "plain old CSS" then there are some huge issues that are going to come up in many situations. It's not a particularly comparable solution in terms of power, whereas pre/post processors are comparable with CSS-in-JS.
Re:State of React and CSS by talmand on Tuesday April 05, 2016 @10:12AM (#11430497)
What exactly are these huge issues?
Re:State of React and CSS by arcticfox on Tuesday April 05, 2016 @12:37PM (#11431883)
In the interest of DRY, if you search for "why use SASS" those reasons are what I'm referring to.