Skip to content
qt

Advanced

Multi-Tab Sync

Every browser tab connected to the SSE stream receives the same invalidation events. Add a todo in one tab and all other open tabs update automatically — no polling, no manual coordination.

What to watch for

  • Open a second tab using the button below
  • Add a todo in either tab — the other updates within milliseconds
  • This works because SSE broadcasts to ALL connected EventSource instances
  • No shared state, no WebSockets — just server-sent events
View Source

Todo list (this tab)

  • No todos yet.

Try it across tabs

Open a second tab, then add a todo in either — watch the other update.

How it works across tabs

Tab A — adds a todo
SSE broadcast
Tab B — updates automatically