News for hackers. Stuff that matters.
Re:How we got to LiveView by skybrian on Wednesday September 22, 2021 @07:30PM (#28623377)
I'm wondering how this framework handles user feedback for network errors and delays?

It seems like your changes aren't really committed until they hit the database, but there are a lot of intermediate states.

Re:How we got to LiveView by chrismccord on Wednesday September 22, 2021 @11:39PM (#28624980)
We have optimistic UI features where we'll apply a css class to the interacted element, lock that DOM container for inbound updates, and only remove the class when that specific interaction is acknowledged by the server. We can also swap text in a similar fashion. The DockYard blog I linked up thread covers these things in detail.