
Danila Poyarkov
@dan_note • 1,908 subscribers
Elixir, Ruby, Lua etc.
Shorts
New package! PhoenixReplay — session recording and replay for Phoenix LiveView. → Records assigns server-side, replays by re-rendering the actual view — pixel-perfect, not a DOM approximation → Zero client-side JS — no bundle size impact, invisible to users → See actual server state during replay: changesets, Ecto structs, form data → Navigation, page transitions, live_patch — all captured in one session automatically → 30s session = 8 KB rrweb and friends record DOM mutations client-side: they fight CORS, break on shadow DOM, drift when assets change, and produce approximate replays with visual glitches. None of that applies here — LiveView templates are pure functions, so same assigns = same HTML. The BEAM just keeps the state. More coming soon.
13,845 views