@dxos/echo
    Preparing search index...

    Variable atomConst

    atom: {
        <T extends Obj.Unknown>(obj: T): Atom<Obj.Snapshot<T>>;
        <T extends Obj.Unknown>(
            ref: Ref.Ref<T>,
            options?: LoadOptions,
        ): Atom<undefined | Obj.Snapshot<T>>;
    } = objInternal.makeAtom

    Create a reactive snapshot atom for an ECHO object or ref. Use inside atom computations (e.g. Atom.make((get) => get(Obj.atom(ref)))) to subscribe to a ref's target — the atom re-fires when the target loads or changes.

    Type declaration

    org.dxos.echo.objAtomReactive applies: Subscribing to a ref's target inside an atom computation or a non-React reactive context instead-of: ref.target — synchronous and not reactive; returns undefined when the target isn't loaded yet and never notifies when it becomes available uses: atom related: org.dxos.echo-react.useObjectReactive

    O(1) memoized atom-family lookup; every emission takes an O(n) getSnapshot of the entity.