Skip to content
React·Advanced·Conceptual·1 min read

Where should an Error Boundary sit relative to Suspense?

Short interview answer

Place boundaries according to independent loading and recovery scopes. A region often needs both so rejection shows actionable error UI without taking down unrelated content.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Suspense

Related questions