6 ms·
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
by wrren 5y ago
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.
- dnautics 5y agoyou 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=PLqj39LCvnOWYTNs1n3ZNMSNO3Svv_XweT&t=2450s https://www.youtube.com/watch?v=XhNv1ikZNLs&list=PLqj39LCvnO...