Add real-time presence to an existing Convex app
Когда использовать: You have an app and want Figma-style 'who's here' indicators without running a socket server.
Поток
-
Describe the featureUsing the Convex skillz — add presence to the documents page. Show cursors and usernames.✓ Скопировано→ Claude implements with Convex's presence pattern (mutation + reactive query), not a custom WebSocket
-
Handle disconnectionWhat about cleanup when users close the tab?✓ Скопировано→ Specific stale-presence cleanup strategy aligned with Convex conventions
Итог: Working presence with proper cleanup.
Подводные камни
- Custom presence pattern that fights Convex's reactivity — Skill steers you toward the idiomatic version; don't override without a reason