Home > react > CreateGlobalStateResult > setStatePartial
Signature:
setStatePartial(nextState: Partial<S> | ((prevState: S) => Partial<S>)): void;
Parameter | Type | Description |
---|---|---|
nextState | Partial<S> | ((prevState: S) => Partial<S>) |
Returns:
void