variable WSContext

Carries the live state pages lay over what they fetched: the connection, the votes and likes, and the latest event of each kind. Read it with useWS.

Type

React.Context<WSContextValue>

Usage

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