3 ms·
With optimistic user interface updates, how are you meant to handle the cases where requests fail? Doesn't this introduce unnecessary complexity?
by Blackstone4 8y ago
With optimistic user interface updates, how are you meant to handle the cases where requests fail?
Doesn't this introduce unnecessary complexity?
- devmunchies 8y agopersonally, for things like React, it can actually reduce complexity. There is only 2 states for a components. For example, an upvote button is "checked" or "unchecked". But without this there is "checked", "unchecked", and "inProgress".