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

Why must a Suspense data source cache its promise?

Short interview answer

Creating a new promise on every render can cause repeated suspension and duplicate work. A compatible cache gives repeated reads the same pending or fulfilled record and defines invalidation semantics.

Key takeaway

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

← Back to Suspense

Related questions