You are writing a single-page web application with a user-interface that communicates with a third-party API for content using XMLHttpRequest. The data displayed on the UI by the API results is less critical than other data displayed on the same web page, so it is acceptable for some requests to not have the API data displayed in the UI. However, calls made to the API should not delay rendering of other parts of the user interface. You want your application to perform well when the API response is an error or a timeout.
What should you do?
[Removed]
Highly Voted 4 years, 4 months agosyu31svc
Highly Voted 3 years, 2 months agosantoshchauhan
Most Recent 7 months, 3 weeks agodscifo
1 year ago__rajan__
1 year, 1 month agomaxdanny
1 year, 2 months agoomermahgoub
1 year, 9 months agotomato123
2 years, 2 months agoherocc
2 years, 9 months agoParagSanyashiv
2 years, 9 months agonehaxlpb
3 years, 3 months agomishsanjay
3 years, 8 months agosaurabh1805
3 years, 11 months agoemmet
4 years, 5 months agoAlekshar
4 years, 5 months ago