~/talk

The road to styled components, and the road ahead

Talkat ReactFoo 2017 · on Thursday, 2017-09-14· [react, css]

History of CSS Modules and a new library leads to a concrete claim: styled-components packages CSS into JS so components ship scoped styles, a Babel plugin aids server rendering and performance, and the project reports 400,000 downloads a month with 10,000+ GitHub stars and ~140 contributors. Implementation details: uses tagged template literals, runtime injection, an optional Babel transform to compile away extra React wrapper cost, auto-prefixing down to IE10, and adapters for React Native and related primitives so the technique actually works across targets.

AI-written summary · about

  1. 0:00Start
  2. 1:07FRONT END CENTER
  3. 8:09CODIFY BEST PRACTICES
  4. 8:30TECHNIQUE
  5. 16:44BRING PEOPLE ALONG
  6. 20:32FOLLOW THE PATH OF LEAST RESISTANCE
  7. 23:08REACT NATIVE
  8. 24:39FOLLOW THE PLATFORM
  9. 29:05Gatsby
  10. 30:00NO DOWNSIDES
  11. 33:26UNIFICATION OF SKILLS UNIFICATION OF PLATFORM
~/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.