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

How can multiple tabs of the same origin communicate through storage?

Short interview answer

A storage event fires in other same-origin tabs when localStorage changes, letting them react to updates such as a logout performed in one tab without any network call.

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