Returns a ref callback function for managing interactive node references by type.
When used as a React ref callback, this function will:
this.nodes[type]
type
this.nodes
The key under which to store the node reference.
A function to be used as a React ref callback.
Returns a ref callback function for managing interactive node references by type.
When used as a React ref callback, this function will:
this.nodes[type]if the node is defined.typeif the node is not defined.this.nodesif it does not exist.