~/talk

Web Components in React

Talkat React Finland 2021 · 2021-08-30..09-03· [web-platform, react]
slides:none on file

Demonstrates integrating a real vanilla colorful hex color picker into React: builds the component in CodeSandbox, wires attributes vs properties via useRef and useEffect, and binds the custom color-changed DOM event with addEventListener to read event.detail.value. Shows property reflection and state sync, then replaces the boilerplate with @lit-labs/react’s createComponent wrapper to get a working React component in seven lines. Everything runs in the demo.

AI-written summary · about

  1. 0:00Intro
  2. 1:40Color Picker
  3. 6:35Event listeners
  4. 9:40Attributes and properties
  5. 13:08Lit Labs React
  6. 16:05Discussion
~/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.