Skip to content
Browser internals·Advanced·Conceptual·1 min read

What happens to sessionStorage data when a tab is duplicated?

Short interview answer

The duplicated tab receives a copy of the original tab's sessionStorage at the moment of duplication, but the two tabs' storage then evolves independently.

Key takeaway

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

← Back to Client-side storage

Related questions