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.type
if the node is not defined.this.nodes
if it does not exist.