Home > react > CreateGlobalStateResult
Signature:
export declare interface CreateGlobalStateResult<S extends CreateGlobalStateState | undefined, R = never>
Method | Description |
---|---|
getState() | |
setState(nextState) | |
setStatePartial(nextState) | |
watchState(callback) | |
watchStateImmediate(callback) |