~/talk

LiveView and Web Components

Talkat Code BEAM America 2025 · 2025-03-06..03-07· [web-platform, elixir-and-erlang]
links:none on file
slides:none on file

Argues that Web Components extend LiveView by becoming first‑class UI elements and shows a working autocomplete + Google Maps demo. LiveElements converts custom elements into LiveView functional components, auto‑serializes complex assigns as JSON and wires custom events to the Phoenix custom event hook. Demonstrates wrapping libraries like FullCalendar, notes LiveView can rereplace elements and cause flicker and gives workarounds such as phx-update="ignore" and using the LiveElements macro or the alternative LiveState channel approach, which runs in production.

AI-written summary · about

  1. 0:00LiveView and Web Components intro
  2. 2:29Web Components benefits
  3. 5:16Custom Elements with LiveView
  4. 9:55Live Elements library
  5. 10:56Web Components demo
  6. 17:19LiveView challenges
  7. 19:28Custom Elements tips
  8. 20:30Live State alternative
  9. 21:58Live State demo
  10. 23:24Closing & Q&A
~/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.