useTable
useTable<
G>(tableId,options?):UseTable<G>
Defined in: react/index.ts:172
Joins a table (once per client; later calls reuse it) and returns its live document
with bound actions. Unmounting does not leave the table: call leave() for that.
Type Parameters
Section titled “Type Parameters”Parameters
Section titled “Parameters”tableId
Section titled “tableId”string | null | undefined
options?
Section titled “options?”"player" | "spectator"
Returns
Section titled “Returns”UseTable<G>
