property WSContextValue.voteCounts

Shows vote counts live. It holds, by dump id, the counts the server pushed or this tab changed optimistically; a dump missing from it shows its fetched voteCount.

Type

Record<string, number>

Usage

import { type WSContextValue } from "src/contexts/ws/WSContext.ts";