preserve and load folding tree state with local storage state hook
preserve and load folding tree state with local storage state hook
there is an outstanding problem where state changes cause the tree nodes to display the loading spinner briefly. i do not know how to fix this problem.