API Reference
Platform docs
Theme

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

BaseVariableNode.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:

Parameters

Parameter

Type

Description

state

VariableNodeState

Returns:

void

Join our community on Discord
Check out our public repositories on GitHub
Enjoy some video content on YouTube