Home > @uniformdev/mesh-sdk-react > VariableNode > setState

VariableNode.setState() method

Updates the node's variables state so it knows its current validity, display name, etc The plugin updates this whenever the variables prop changes.

Signature:

setState(state: VariableNodeState): void;

Parameters

ParameterTypeDescription
stateVariableNodeState

Returns:

void