Add real-time presence to an existing Convex app
Quand l'utiliser : You have an app and want Figma-style 'who's here' indicators without running a socket server.
Déroulement
-
Describe the featureUsing the Convex skillz — add presence to the documents page. Show cursors and usernames.✓ Copié→ Claude implements with Convex's presence pattern (mutation + reactive query), not a custom WebSocket
-
Handle disconnectionWhat about cleanup when users close the tab?✓ Copié→ Specific stale-presence cleanup strategy aligned with Convex conventions
Résultat : Working presence with proper cleanup.
Pièges
- Custom presence pattern that fights Convex's reactivity — Skill steers you toward the idiomatic version; don't override without a reason