I often see HTTP requests that forget to do one or more of these: ✅ Show...
I often see HTTP requests that forget to do one or more of these:
✅ Show loading status
✅ Display a confirmation when complete
✅ Timeout the request (display a message and hide loader if it's too slow)
✅ Support retry
✅ Cache the response
✅ Display an error upon failure
✅ Disallow form submissions while the HTTP call is in progress
✅ Hide the relevant UI until loading is complete