~/talk

Design Decisions for the Components Library

Talkat JetBrains JavaScript Day 2022 · on Thursday, 2022-11-10· [component-design, typescript]
links:none on file
slides:none on file

The team ends up with three component libraries instead of one and justifies it with specific fixes: they move to separate npm packages, write a custom Babel plugin to inject CSS Modules build info into JS, patch postcss custom properties to avoid global variable collisions (IE fallback via duplicated rules), and enforce singleton packages for things like React context by making them peer/dependencies. They add per-package tsconfig generation for publishing, replace styleguidist with a Next.js+MDX docs engine, introduce Xian helpers for isolated stylistic utilities, and support ~10 internal teams.

AI-written summary · about

  1. 0:00Start
  2. 8:04Components library- Design system
  3. 8:20Requirements for v2 (The Design System)
  4. 13:41Singleton packages
  5. 20:40Fundamental issues
  6. 21:57Requirements for v3
  7. 26:34Current stack (v3)
~/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.