~/talk

Sid Kshetrapal-Walking the line between Flexibility and Consistency in Component libraries

Talkat React Conference Live 2022 · on Friday, 2022-04-01· [react, component-design]
slides:none on file

Builds GitHub’s React component library example: an action list and action menu that move from a rigid config API to a composable, slot‑based design. Shows actual code patterns: switching to the compound component pattern, detecting children by child.type and filling slots, adding an action menu overlay with a searchable text input. Measures tradeoffs: escape hatches like renderItem eject accessibility and keyboard handling to apps, while composition preserves features and lets the team upstream recurring patterns into the library.

AI-written summary · about

  1. 0:00Start
  2. 0:43Flexibility and Consistency
  3. 4:16Action List
  4. 5:14Dividers
  5. 8:55Groups
  6. 9:43Group Metadata
  7. 11:44Glue Code
  8. 12:50The Compound Component Pattern
  9. 13:07Divider
  10. 21:04Filtering Logic
  11. 21:50Keyboard Accessibility
~/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.