~/talk

Building Better Components — A Journey to a More Resilient Frontend

Talkat NDC Oslo 2025 · 2025-05-19..05-23· [frontend-architecture, component-design]
slides:none on file

Code samples come from live production repositories and use React + TypeScript. The talk shows concrete rules: replace boolean-bloat with categorical union props, treat HTML attrs separately and extend native HTML attributes so inputs and buttons accept children and real events, and standardize names/defaults (sizes default to medium) across ~50–60 components. It demonstrates a working component store hook (usePopoverMenu) that centralizes state, ARIA, placement and works across files, and reports measurable upticks in library adoption.

AI-written summary · about

  1. 0:00Introduction and goals
  2. 5:18Grouping similar props
  3. 10:33Data gate model
  4. 14:52Establishing consistency
  5. 24:21Avoiding HTML reinvention
  6. 38:01Using component stores
  7. 46:56Recap and conclusion
~/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.