~/talk

Building a custom library for videochat with Svelte's Web Components Support

Talkat Svelte Summit Fall 2021 · on Saturday, 2021-11-20· [web-platform, javascript]
links:none on file
slides:none on file

A production WebRTC video chat library called commu videochat SDK compiles Svelte components into standards-based custom elements, using TypeScript and Rollup with customElement: true to produce a single bundle that you drop into a page. UI state sync relies on attribute updates and lifecycle callbacks, and two‑way binding is emulated by emitting DOM events via createEventDispatcher and dispatchEvent; the demo shows live calls working in vanilla pages and alongside React, with gotchas around kebab‑case attribute names.

AI-written summary · about

  1. 0:00Introduction to Commu
  2. 1:02Why Svelte and Web Components
  3. 6:47Demo of Commu in production
  4. 10:22Building custom elements with Svelte
  5. 16:04Pitfalls and workarounds
  6. 19:54Recap and key takeaways
  7. 21:43Closing and resources
~/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.