Sebastian Markbåge Oct 14
Updates from imperative (setState) are added to a mutable queue. There's a mutable ref in the tree that indicates which nodes have uncommitted updates. Could make all setStates create a new tree but that's not good for perf given how many there are in current systems.