In plain words
Realtime keeps a live connection open between the browser and the server, so changes, such as a new comment or a like, appear on everyone's screen within moments.
Where you see it
Chirp's like counter ticking up while you watch, or a new message appearing in Guildhall's chat. In Supabase this is called Realtime: the browser subscribes to a table and hears about new or changed rows. Underneath it's usually a WebSocket, a connection that stays open instead of closing after each reply.
What goes wrong
- Subscribing without ever unsubscribing
A screen that opens a new subscription each time it appears, and never closes the old one, ends up with several listeners. Each message then arrives several times.
- Realtime never switched on for the table
In Supabase, a table only broadcasts changes once it's added to Realtime. The code looks right and nothing ever arrives.
- Realtime where a refresh would do
A live connection for every visitor costs money and adds moving parts. A chat needs it; an order history rarely does.
What to tell your agent
Quick check
Sign in to earn +10 XP for itEvery new message in Guildhall's chat appears three times. What went wrong?