commitToLayoutStateRecursively

Notify TreeState to keep state containers for the case where we reuse resolve results.