~/talk

Losing your Components’ Head

Talkat XtremeJS 2024 · 2024-11-12..11-13· [react]
slides:none on file

Claims that separating behavior, UI and data lets components survive rebrands; shows a concrete React implementation using a headless component pattern with a React context provider to hold selected state, orientation and callbacks. Builds a tabs component composed of tab, tablist, tabpanel parts, adds ARIA roles and hidden toggling, and swaps CSS modules to change look instantly. Demo works: horizontal/vertical modes and style variants switch with minimal code; notes compatibility with Material UI Base and other headless libs.

AI-written summary · about

  1. 0:00Introduction
  2. 2:52Design change problem
  3. 4:14Designers vs developers
  4. 7:04Headless component pattern
  5. 8:12Breaking tabs into parts
  6. 10:01Headless tabs component
  7. 12:32Behavior with React context
  8. 14:21Tab component implementation
  9. 15:50Tab panel component
  10. 17:17Adapting UI with headless
  11. 19:04Headless component libraries
  12. 20:06Summary & Q&A
~/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.