1. Objects or Template Strings? 2. Working with Designers? 3. Simplicity or Flexibility? 4. React-centric or Framework-agnostic? 5. Server-side Rendering?
– Alan B Smith “[…] the appeal of CSS-in-JS is not simplicity, rather predictability and consistency.” Source: https://hackernoon.com/why-we-use-styled-components-at-decisiv-a8ac6e1507ac
- Choosing a library is hard - Using CSS in JS is not necessarily the best choice ✓ Power of JavaScript ✓ Unique generated classes ✓ Predictable UI Benefits Problems