I saw a post from Chris, Chris McCord on X: "Someone on HN asked for an optimistic UI demo for LiveView, so dropping this here ahead of code example. TodoTrek with 1s simulated latency, using recent LiveView primitives for the client hooking into our optimistic UI features: https://t.co/jZFx4zeN6S" / X, and it triggers my confusion again regards to how to do optimistic UI’s using LiveView. I get the benefit of LiveView, but on real world situations latency can be a huge problem.
You can access the repo here: GitHub - chrismccord/todo_trek · GitHub
Do you have any use-cases in mind? It would be unwise to discuss this matter in void.
There is actually a section of the docs that explain Optimistic Updates in LiveView.






















