LiveView is fun, but my problem is that in practice I often want local-first state. Is there a good way to do that with LiveView, maybe a clean way to write the little javascript snippets so they work with local state?
If you want to have some state that only exists on the server, then you simply don’t assign that data to the socket.