Browser API
BroadcastChannel logout hint
Notify compatible same-origin contexts of local session invalidation without sending secrets.
Formal Syntax & Structure
react syntaxreact
channel.postMessage({type:"session-ended"})Working Example
Example Snippetreact
channel.close()