News for hackers. Stuff that matters.
Re:The future of web software is HTML over WebSockets by hfjtktkf on Thursday February 25, 2021 @02:26PM (#26267057)
I am doing something somewhat similar - I have a Postgres database and I send all the user tables to the client on connection and then stream all the updates. I use Vue and Vuex-ORM to make the client tables reactive, and put a view on that. When something changes in the database, the client UI will also update.

It is indeed a very powerful and reliable way of ensuring synced state.

Re:The future of web software is HTML over WebSockets by qmmmur on Friday February 26, 2021 @06:28AM (#26273680)
I do the same for a collaborative music app. User gets the state of a session on load as a JSON object then just received the diffs. It's pretty efficient.
Re:The future of web software is HTML over WebSockets by mxxx on Thursday February 25, 2021 @05:44PM (#26269285)
Sounds like you’re describing a system similar to Meteor.