~/talk

Styled-components: Styled-components Enforcing best practices

Talkat ReactiveConf 2016 · on Friday, 2016-10-28· [react, javascript]
slides:none on file

Claims that styling moves into JavaScript to enforce component-focused rules by generating actual CSS in JS per component, removing class-name mapping, and providing a theme provider plus React Native support. Demonstrates working code, media queries, prop-based style functions, syntax-highlighting and stylelint integration, server-side rendering with extraction planned, and real production usage with good performance. Released on GitHub and installable via yarn, showcased at ReactiveConf 2016 with more than 700 attendees.

AI-written summary · about

  1. 0:00Introduction
  2. 1:00Open source projects
  3. 1:47Component age
  4. 6:44Style components
  5. 7:30Enforcing best practices
  6. 8:52Why styling components
  7. 9:50Removing mapping
  8. 10:42Styling components
  9. 12:23CSS
  10. 13:56Props
  11. 15:22Buttons
  12. 15:55Theme
  13. 18:03Syntax Highlighting
  14. 19:03Running styling on styled components
  15. 19:46Using styled components right now
  16. 20:32Questions
  17. 21:39Global styles
  18. 23:04Inline styles
  19. 23:59Stock components
  20. 25:01IntelliJ syntax highlighting
  21. 26:21Extracting styles
  22. 28:08Wrap component in a function
~/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.