11
votes
3answers
485 views

Should we be optimistic or pessimistic with UI updates on AJAX requests?

We are discussing in our team how best to handle UI updates after a user does something to cause an AJAX request to the server. Here are options we are considering: Instantly update the UI and ...