~/talk

Exploring State Management in Phoenix LiveView

Talkat ElixirConf EU 2026 · 2026-04-23..04-24· [frontend-architecture]
slides:none on file

Demonstrates state fragmentation in Phoenix LiveView with a small lunch app, function components, stateful live components and nested live views that crash independently but don’t auto-sync, then shows a proof‑of‑concept centralized store inspired by Zustand and a persistence library LiveStash that snapshots assigns and restores them on reconnect using either an ETS adapter or a browser memory adapter with configurable TTL, and reports that the store prototype works but is not yet production ready.

AI-written summary · about

  1. 0:00Introduction
  2. 1:49What is state
  3. 4:40State management tools
  4. 9:54State fragmentation
  5. 12:20LiveState concept
  6. 14:09State loss on reconnects
  7. 16:54LiveStash recovery
  8. 19:46LiveState vs alternatives
  9. 20:50Q&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.