3 ms·
Great to see another language adopting LiveView! (Author of LiveViewJS[1] here). Are you using Phoenix’s javascript client (and protocol) or rolling your own?
by floodfx 4y ago
Great to see another language adopting LiveView! (Author of LiveViewJS[1] here).
Are you using Phoenix’s javascript client (and protocol) or rolling your own?
[1] - http://LiveViewJS.com http://LiveViewJS.com
- jkelleyrtp 4y agoWe're using our own protocol right now - haven't really looked too deeply at the Phoenix protocol. We use templates (like Solid or Blockdom) to build and patch the page which is pretty specific to Dioxus.
- quechimba 4y agoInteresting! I implemented a virtual DOM in Ruby which streams patches to the browser. I think this is is a really powerful way to make web apps and it's nice to see that others are doing it too.
- floodfx 4y agoCool. We went with re-using/adopting Phoenix's because it is battle-tested and allowed us to not have to rebuild/find edge cases on browser event handling and DOM morphing and optimizing diffs. If you ever want a walk through lmk.
- faitswulff 4y agoIs Phoenix's LiveView protocol documented anywhere? That would be pretty interesting reading.