Set Up Realtime

Use when adding realtime / live server-push updates to a frontend SPA — wires a transport-agnostic WebSocket seam (reconnect with backoff, offline-aware, no-op without config) and a hook/composable that writes pushed server data into the TanStack Query cache (patch entity + invalidate lists, re-sync on reconnect), with connection status as the only UI-state store.

VelimirMueller Updated

File contents

VelimirMueller/claude_development_skills/tree/main/skills/frontend/set-up-realtime commit 2e339c2650

Frequently asked questions

npx skillmds@latest add velimirmueller/set-up-realtime