Ticker

6/recent/ticker-posts

Bruce Lawson | CSS-in-JS: FTW || WTF? | CSS Day 2018



Everyone’s talking about CSS-in-JS. It’s the Kim Kardashian of web development. And, as with Kimmie, opinions are polarised. To some, CSS in JS just makes sense: it’s local to your component, it can’t leak and, hey, I know how to write JavaScript and CSS is weird.

To others, CSS-in-JS is an abomination that makes them want to emulate Kimmie and “release a fragrance” in disdain. Why are scripters so afraid of the cascade? Why the hesitance about inheritance?

Let’s look at what CSS seems to lack, what the CSS-in-JS libraries can teach us, so we don’t do as Kim’s buttocks did and “Break the Internet”.

Slides:
About Bruce:

More about CSS Day: or
Receive updates in your inbox: /subscribe

Likes: 38

Viewed:

source

Post a Comment

0 Comments