2 ms·
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 dat
by skybrian 5y ago
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.
- chrismccord 5y agoWe 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.