useConnection
useConnection():
object
Defined in: react/index.ts:90
Connection status and the current player. Re-renders on changes.
Returns
Section titled “Returns”object
player
Section titled “player”player: {
guest:boolean;id:string;name:string; } |null
status
Section titled “status”status:
ConnectionStatus
