Home > react > createGlobalState
Signature:
export declare function createGlobalState<S extends CreateGlobalStateState, R = never>(initialState: S): CreateGlobalStateResult<S, R>;
Parameter | Type | Description |
---|---|---|
initialState | S |
Returns:
CreateGlobalStateResult<S, R>