▲ | bartblast 4 days ago | ||||||||||||||||
Phoenix LiveView is absolutely fantastic for many use cases and has been a game-changer for the Elixir ecosystem. I have tremendous respect for what the Phoenix team has built. The key difference with Hologram is that it transpiles Elixir code to JavaScript that runs directly in the browser, eliminating server round-trips entirely. So while LiveView uses websockets to update the DOM from the server, Hologram gives you true client-side execution with zero latency for interactions. | |||||||||||||||||
▲ | gchamonlive 4 days ago | parent [-] | ||||||||||||||||
Couldn't you leverage wasm and run the client-side actor locally and achieve something similar without having to compile to JavaScript which is brittle and not fun at all? Maybe using something like https://github.com/tessi/wasmex Never tried it, so I don't know what the limitations would be, but it seems feasible in theory. | |||||||||||||||||
|