Build a real-time Twitter clone in 15 minutes with LiveView and Phoenix 1.5
Chris McCordYouTube ↗
Further reading 1
Caption notes
Chris McCord uses a Twitter-style timeline to introduce Phoenix LiveView’s design at the time. He starts with form validation to explain how the server handles state changes and the browser receives the changes needed to update the interface. He then uses creating and editing posts to describe a separate step: after a successful database write, publish/subscribe delivers an event to other views showing the timeline so they can update their own state.
Archived captions (transcription method unspecified) ↗Original passages · 2
this paradigm on the server and sending those minimal Dom patches over the wireif our state changes our template gets rendered