~/talk

Future-proof your UI: Building with Web Components

Talkat CityJS Athens 2025 · 2025-05-28..05-31· [web-platform, component-design]
slides:none on file

SuperTokens builds a prebuilt auth UI as Web Components by compiling JSX with SolidJS → Web Components and shipping a prototype that talks to a live SuperTokens server. The team avoids no shadow DOM (password managers), polyfills slots, and accepts props-as-attributes limited to strings and booleans (serialize for complex objects). Components expose internal state via element properties and emit custom events, and the prototype runs inside React Router, static pages and PWAs, so the approach works end to end.

AI-written summary · about

  1. 0:00Introduction to web components
  2. 2:26Problem with pre-built UI
  3. 3:09Web components basics and APIs
  4. 6:17Using Solid with web components
  5. 8:01Handling props and slots
  6. 11:13Adding interactivity and state
  7. 15:05Using in React
  8. 16:50Live demo and prototype
  9. 17:10When to use web components
~/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.