Skip to content
PACKAGES

loadReactiveListState()

D161 passive load/fold for reactiveList; reads storage but never mutates graph topology.

import { loadReactiveListState } from "@graphrefly/ts/storage";
function loadReactiveListState(opts: LoadReactiveCollectionStateOptions): Promise<ReactiveListRestoreState<T>>
ParameterTypeDescription
optsLoadReactiveCollectionStateOptionsOptions that configure the helper.

A Promise<ReactiveListRestoreState<T>> value.

import { loadReactiveListState } from "@graphrefly/ts/storage";

packages/ts/src/storage/reactive-collection.ts