News for hackers. Stuff that matters.
Re:Generate Elixir/Phoenix Boilerplate by wrren on Tuesday September 28, 2021 @05:01AM (#28680658)
That’s really not what it is. Live View is a replacement for most of what you can do with JS, but isn’t great for everything. The browser connects to the server via web socket and a process is started to manage the DOM state. Diffs are sent to the browser in response to various events such as clicks on elements or PubSub broadcasts.
Re:Generate Elixir/Phoenix Boilerplate by dnautics on Tuesday September 28, 2021 @05:25PM (#28687720)
you are describing what it is, but not what the bigger point is. Here it is, from Chris McCord: https://www.youtube.com/watch?v=XhNv1ikZNLs&list=PLqj39LCvnO...