realtime-ux
Installation
SKILL.md
Real-Time UX Patterns
LiveView makes real-time technically easy. The hard part is UX: making interactions feel instant, handling concurrent users gracefully, and degrading smoothly when connections fail. This skill covers the UX patterns, not the plumbing.
The Five UX Challenges of Real-Time
- Latency — The round trip to the server is perceptible. How do you make it feel instant?
- Presence — Multiple users are here. How do you show who, where, and what they're doing?
- Conflicts — Two users changed the same thing. Who wins? How does the loser know?
- Disconnection — The WebSocket dropped. What does the user see? What happens to their work?
- Loading — Data isn't here yet. What does the user see while waiting?