Hacker News new | ask | show | jobs
by revskill 1211 days ago
I tried my best to browse all the docs and guides and sample code to know what does live view mean , but failed.

I guess this project's trying to make some buzzword ?

Because for documentation, assumption is bad.

1 comments

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.

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.