System Design · Middle · Question 36 of 75
How should the UI behave when one dashboard widget fails?
- ✓Correct answer: Isolate the failure and show a fallback only for that widget
- 2Show a blank screen and ask to reload the page
- 3Hide the error and show an empty widget with no explanation
Explanation
Graceful degradation: the rest of the dashboard works, the broken widget has a message and a "Retry" button, and the error goes to monitoring. Error boundaries are placed around independent parts.