Design Patterns · Junior · Question 70 of 75

What's the purpose of a fallback UI (e.g. a React error boundary)?

Explanation

Placing boundaries around independent widgets keeps the rest of the page usable.

Further reading

Problem with a question

Design Patterns · Junior · question 70

Test yourself

Take the Design Patterns · Junior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz