Skip to content

@sqlrooms/cells / useCellsStore

Function: useCellsStore()

useCellsStore<T>(selector): T

Hook to access the cells slice from the room store. This works in any app that includes createCellsSlice in its store.

Type Parameters

Type Parameter
T

Parameters

ParameterType
selector(state) => T

Returns

T