itwinjs-core
itwinjs-core copied to clipboard
Support suspending/restoring presentation tree state
In some cases there's a need to suspend tree state before a component unmounts and restore it afterwards when a component mounts. The presentation-driven trees currently don't support this. It seems the following things need to be added:
- [ ] Allow constructing
MutableTreeModelout of an immutableTreeModel. - [ ] Allow users to provide their own
TreeModelSourcetousePresentationTreeNodeLoaderhook.
Related PR: https://github.com/iTwin/itwinjs-core/pull/4030