Hacker News new | ask | show | jobs
by floodfx 1211 days 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

1 comments

We'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.
Cool. 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.
Is Phoenix's LiveView protocol documented anywhere? That would be pretty interesting reading.
Interesting! 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.