CSS in JS: The Good & The Bad Parts
summary
Argues that CSS-in-JS is worth watching for concrete tradeoffs: a real shop is built on the React ecosystem using CSS-in-JS, libraries like Fila and utilities like polished actually get used, and a Babel/Bundling approach (precompile with a plugin, server rendering) appears. Claims include fewer naming and specificity bugs, styling as pure functions of state for predictability, criteria for choosing an implementation, and notes a team-collaboration pitfall with designers and how it was resolved.
AI-written summary · about
chapters (9)
- 0:00Introduction
- 1:13What is CSS in JS
- 8:10Benefits of JS
- 12:30New class names
- 14:40The problem with CSS
- 17:39User Interfaces
- 18:45Function of State
- 20:56Summary
- 21:57Questions








