~/talk

The Lonely and Dark Road to Styling in React

Talkat React Day Berlin 2018 · on Friday, 2018-11-30· [css, react]
slides:none on file

Compares four concrete approaches: plain CSS (fast to mock, naming pain), preprocessors like Sass (variables, nesting, extra build deps), CSS Modules (file-scoped hashed class names, supported by create-react-app) and CSS-in-JS (styled-components/emotion: props-driven styles, theming, but SSR complications). Shows actual tooling used — create-react-app, node-sass, postcss, Razzle, CodeSandbox — and demos how CSS Modules supported by create-react-app and server-side rendering via collected style tags work in practice.

AI-written summary · about

  1. 0:00Start
  2. 3:01LET'S WALK THE ALLEY TOGETHER
  3. 3:17THE DARK AND LONELY ROAD TO STYLING IN REACT
  4. 5:11NEVER FORGET THAT 1500 LINES CSS FILE
  5. 11:55CSS MODULES
  6. 14:44AUTOPREFIXER COMES BY DEFAULT
  7. 20:36SERVER SIDE RENDERING?
  8. 27:49USE WHAT MAKES YOU CODE FASTER AND BETTER
~/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.