🔥

Thread (@jedschmidt)


i'm kind of amazed how fast so-called best practices change on the front-end. a year ago inline styles were heresy, now everyone's doing it.

i gave a talk at a conference a year ago about leaving CSS behind and got a lot of pushback: youtube.com/watch?v=XjK03i…

when i wrote v1 of the UNIQLO mobile site in 2014, i used inline styles because CSS was too awkward. turns out it's a great way to do react.

my lesson from all of this is don't listen to people who tell you you're doing it wrong because "this is how we do it." it'll always change.