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

How does request deduplication work and why does it matter?

Short interview answer

The data layer keys requests by their parameters and returns the same in-flight promise to every caller of the same key, so ten components mounting and each asking for the current user produce one network request. Without it, unrelated components independently refetch the same data.

Key takeaway

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

← Back to Client-side data fetching patterns

Related questions