const text = new Text([()=>user.name, `\`s Dashboard`], { type: 'h1' });
//perform some logic that changes the user.name
text.refresh() // recalls the function and successfully updates the first child
//whitout the function , the actual value of user.name is passed, instead of a ref to user.name
Represents a single node, collection of nodes, or a function that returns a single node. Wrapping a node on an anonymous function is useful for updating text on components.