Please, Please Don’t Use “CSS in JS”

When I’m saying at scale, it means in a codebase with hundreds of developers that are committing code everyday and where most of them are not front-end developers.

  1. Hundreds of people write CSS at Facebook, and these problems affect productivity in a real way. Something better is needed.
  2. React is core to the Facebook business, because it powers nearly all of Facebook web and native mobile. How should styling be done in a unified way on web and mobile?
  3. The existing solutions feel old and busted.

--

--

--

🛠 building https://followreset.com. https://sharesecret.co. platform @upfrontvc. prev consultant, founding team @zaarly. long ago: health care tech, economics.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Assigning Default Values to Variables in Javascript

Introduction To Basic Javascripts

10 Tips for Our Coding Bootcamp’s Technical Interview

How To Schedule Email using Cron jobs in nodejs…

I Researched the Most Interesting Facts about Programming Languages ​

Time not important : Temporal Transparency in RxJS

Which is best JavaScript Development framework :- AngularJS vs EmberJS vs BackboneJS

A Couple Of Useful Functional Patterns for JavaScript

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Alex Sharp

Alex Sharp

🛠 building https://followreset.com. https://sharesecret.co. platform @upfrontvc. prev consultant, founding team @zaarly. long ago: health care tech, economics.

More from Medium

Styling Bold and Italic Fonts Using CSS

Remove Unused CSS & JavaScript in WordPress

#5 Building a JavaScript & HTML Browser RPG: Keyboard Movement

Adding a transition effect for looping background video with pure JS/CSS