CSS-in-JS: FTW || WTF? Chris Coyier on Jul 17, 2018 DigitalOcean provides cloud products for every stage of your journey. Get started with $200 in free credit! I enjoyed Bruce Lawson’s talk on this holiest of wars. It’s funny and lighthearted while being well researched and fairly portraying the good arguments on both sides.
There needs to be a name for the phenomenon demonstrated in this video. Large companies that work on single projects that at the bleeding edge of technology pushing outside the bounds of concept and design. (LCTWOSPBETPOBCD, stupid acronym)
jQuery did this and some of the results made it into the core of the browser.
What this means is that none of it’s useful for “normal/average” developers. Why? Because it simply costs too much to learn, use and then clean out the mess later on when the browser vendors implement the best ideas and reject the others.
The “limitations” of their idea (ie, can’t change an inline to a block and vice versa) is purely arbitrary, and this kind of thing stinks of their own personal opinions about how thing should be done.
The end result? Wait a couple years, keep doing what we are doing, and add the new cool stuff when it’s available. This is bleeding edge ideas that are only useful for LCTWOSPBETPOBCD. (or maybe Large Company Single Project?)
So, if we all keep doing what we are doing who is going to think of the new cool stuff?
Good video, but analyzing more in detail I like more the selection by attribute
I have developed a similar solution that applies this selection by attributes.
The style sheet will create a component, which replaces :this with a random class.