Overview of 5 frameworks to style JavaScript applications written in React including Radium, Aphrodite, CSS Modules, Styletron, and Styled Components with a Cheat Sheet of their features
28. BAD Naming
Not DRY
Developer Experience
DOM updates require JS
Familiarity
Matured browser support
Continuous growth
GOOD
UGLY Globals
Cascades
Specificity
Source Order
IDEAL FEATURES
FOR CSS IN REACT FRAMEWORKS
29. BAD Naming
Not DRY
Developer Experience
DOM updates require JS
Familiarity
Matured browser support
Continuous growth
GOOD
UGLY Globals
Cascades
Specificity
Source Order
IDEAL FEATURES
FOR CSS IN REACT FRAMEWORKS
Components with local CSS
Optional global CSS
30. BAD Naming
Not DRY
Developer Experience
DOM updates require JS
Familiarity
Matured browser support
Continuous growth
GOOD
UGLY Globals
Cascades
Specificity
Source Order
Full CSS support
Server side rendering / Extract CSS
IDEAL FEATURES
FOR CSS IN REACT FRAMEWORKS
Components with local CSS
Optional global CSS
31. BAD Naming
Not DRY
Developer Experience
DOM updates require JS
Familiarity
Matured browser support
Continuous growth
GOOD
UGLY Globals
Cascades
Specificity
Source Order
Full CSS support
Server side rendering / Extract CSS
No dead CSS
Themes
Debugging in DevTools
Linting & syntax highlighting
Automatic vendor prefixing
IDEAL FEATURES
FOR CSS IN REACT FRAMEWORKS
Components with local CSS
Optional global CSS
139. - Bret Victor
Technology changes quickly, people’s minds change
slowly. So it’s easy to adopt new technologies, it can be
hard to adopt new ways of thinking.
“
”