Hacker News new | ask | show | jobs
by POiNTx 1213 days ago
LiveView is just updating the HTML DOM through a websocket. Instead of using a conventional API, everything happens through the websocket.

This way you can write server side templates to update the client automatically on server side state changes without needing to use an API on the client to fetch the state or even manipulate the state.

1 comments

I know and heard "liveview" before, from hotwire to liveview from phoenix. It's just that i can't see this through this project's docs or code sample.