Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

useRoom

const useRoom: UseBoundStore<StoreApi<RoomState>>

The client’s room as the loop last read it, for the devtools and a game’s own readout. The loop is its one writer, and a game with no room leaves it closed.