~/talk

Styling React For Reuse

Talkat UtahJS Conf 2017 · on Wednesday, 2017-09-27· [react, css]
slides:none on file

Argues that reusable React UI means accessible semantics (use button and anchor, not div onclick), documents theme and style APIs, and balances isolation: too coupled forced every page to carry unused modal, menu and icon-font dependencies while too pristine components failed with real site data. Describes a living style guide, moving from SVG icon fonts to SVG icon sprites, splitting components into component-per-repo npm packages, and supporting styling via a theme prop (glamorous/aphrodite examples). Lessons: document accepted props and isolate packaging, not internals.

AI-written summary · about

  1. 0:00Introduction and goals
  2. 1:53Accessibility as a priority
  3. 7:46Lessons in isolation
  4. 16:19Theming and documentation
  5. 22:19Q&A and closing
~/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.