@dxos/react-ui-list
    Preparing search index...

    Function createStaticTreeModel

    • Adapts a plain in-memory tree to the TreeModel atom-family contract the Tree consumes.

      Tree's only entry point is five atom families, which is the right shape for a store that is already reactive per node (ECHO, a live app graph) but roughly a hundred lines of plumbing for a caller that just holds an array — the cost that kept ObjectsTree, ProcessTree and the stories on hand-rolled renderers instead. Open/current state is owned here, keyed by path, so the same node appearing at two paths stays independent.

      Type Parameters

      • T extends { id: string }

      Parameters

      Returns StaticTreeModel<T>