~/talk

Secrets of building robust UI components at scale

Talkat Wey Wey Web 2022 · 2022-12-15..12-16· [react, typescript]
slides:none on file

Argues that robust React UIs come from concrete choices: enforce linters/formatters and auto-sorting imports, use Storybook and component tests (Cypress) to exercise every state, adopt TypeScript strict mode and zod for runtime parsing, prefer string-literal union props over booleans, co-locate logic into hooks, and keep APIs minimal. Recommends atomic design as a mental model, using compound components and polymorphic components where appropriate, and relying on generics and overloads to encode precise prop contracts.

AI-written summary · about

  1. 0:00Introduction and welcome
  2. 1:50About the speaker
  3. 3:14Defining robust UI components
  4. 4:17Tooling for robust UIs
  5. 8:28Building components in isolation
  6. 9:31Automated component testing
  7. 10:15Theming and design tokens
  8. 12:01Atomic design methodology
  9. 15:18Code organization tips
  10. 16:24React component prop patterns
  11. 21:40Exposing component types safely
  12. 24:33Reusable UI component structure
  13. 25:15Compound and polymorphic components
  14. 27:24Generics in React components
  15. 28:31Overload function components
  16. 29:12Interfaces vs types in TypeScript
  17. 31:40TypeScript best practices
  18. 34:10Strict TypeScript configuration
  19. 35:15Key takeaways and conclusion
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.