~/talk

The road to styled components: CSS in component-based systems

Talkat CSS Conf EU 2017 · on Friday, 2017-05-05· [component-design, javascript]
slides:none on file

Argues that writing CSS inside JavaScript actually preserves authoring ergonomics while adding runtime power: a library called styled-components uses template literals and generates normal HTML and CSS classes with no special build step, supports nesting and media queries, lets components change styles via prop interpolation, offers a theme provider for global variants, and includes a React Native backend so the same components render on native. The implementation exists, compiles to predictable class names, and is presented as working in practice.

AI-written summary · about

  1. 0:00Intro
  2. 1:09Blaine
  3. 2:18Conclusion
  4. 3:18Why style components
  5. 4:41The purpose of components
  6. 5:03Component examples
  7. 7:24Why use JavaScript
  8. 8:20The power of JavaScript
  9. 8:58I hit a wall
  10. 9:27Benefits arent worth it
  11. 9:59What is styled components
  12. 10:28The real power of styled components
  13. 11:17How it works
  14. 11:41Style component title
  15. 12:33Style component wrapper
  16. 12:44Styling concerns
  17. 13:29HTML CSS
  18. 13:47Nesting
  19. 14:56Media queries
  20. 15:26React components
  21. 16:04Interpolation
  22. 17:22ThemeProvider
  23. 17:59Function Interpolation
  24. 18:14New Themes
  25. 19:09React Native
  26. 20:52Wrapup
  27. 21:34Making things better
  28. 22:08Historical separation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.