mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 06:09:08 +03:00
This change adds functionality to broadcast the current cursor position when a new user joins the realtime channel. This ensures new users see the cursors of existing users immediately. Changes: - Add cursorPayload ref to store the current cursor position - Update the ref whenever the cursor moves - Add presence join handler to broadcast current position to new users 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>