vtils

Home > react > CreateGlobalStateResult > setStatePartial

CreateGlobalStateResult.setStatePartial() method

Signature:

setStatePartial(nextState: Partial<S> | ((prevState: S) => Partial<S>)): void;

Parameters

Parameter Type Description
nextState Partial<S> | ((prevState: S) => Partial<S>)  

Returns:

void