Skip to main content

Function: useSyncState()

function useSyncState<T>(initialState, key): readonly [any, (newState) => void]

Type Parameters

Type Parameter
T

Parameters

ParameterType
initialStateT
key(null | string)[]

Returns

readonly [any, (newState) => void]

Robo.js Logo

MIT © 2024 Robo.js By WavePlay