I'm confused on how to do optimistic UI changes using LiveView

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.