Skip to content

VexConnectionStatus

Defined in: packages/react/src/hooks/useVexConnectionStatus.ts:14

Value of useVexConnectionStatus.

hasUnsavedWrites: boolean

Defined in: packages/react/src/hooks/useVexConnectionStatus.ts:20

Writes are pending while the WebSocket is down; a reload now would drop them.


pendingWriteCount: number

Defined in: packages/react/src/hooks/useVexConnectionStatus.ts:18

Mutations plus actions sent but not yet acknowledged by the backend.


state: "offline" | "connecting" | "connected" | "reconnecting"

Defined in: packages/react/src/hooks/useVexConnectionStatus.ts:16

What the pill shows.