Introducing LiveData: LiveView for JSON endpoints
summary
LiveData generalizes LiveView to JSON endpoints: a server-side diffing engine compiles "templates" from Elixir AST and sends minimal JSON patches over Phoenix channels using Jason. It provides a deft (def tracked) macro that extracts static fragments at compile time, a keyed subtrees mechanism for stable identity in lists, a JavaScript/Svelte client and a Flutter demo that renders native widgets and validates forms server-side. Prototype works over reconnects by full resync, is on GitHub, and is not yet production-ready.
AI-written summary · about
chapters (4)
- 0:0002:18 - Intro
- 2:1923:02 - Diffing Engine + Demo #1
- 23:0327:19 - Demo #2 LiveData + DSL + Native Mobile App
- 27:2034:09 - Future Work
related talks
35mKeynote: Fireside Chat on LiveView, (...)
01h 13mKeynote: Phoenix LiveView - Interactive Apps without Javascript
26mExploring State Management in Phoenix LiveView
23mDeterministic LLM UI Rendering in Phoenix LiveView
35mBringing LiveView to the Client with Popcorn
28mLobbying with Elixir: Real-Time LiveView and OTP
48mCoding LiveView
41mLiveData beyond VIewModels
