@dxos/echo-solid
    Preparing search index...

    Function useObjects

    • Subscribe to multiple Refs' target objects. Automatically dereferences each ref and handles async loading. Returns an accessor to an array of loaded snapshots (filtering out undefined values).

      This hook is useful for aggregate computations like counts or filtering across multiple refs without using .target directly.

      Type Parameters

      • T extends Unknown

      Parameters

      • refs: MaybeAccessor<readonly Ref<T>[]>

        Array of Refs to dereference and subscribe to (can be reactive)

      Returns Accessor<T[]>

      Accessor to array of loaded target snapshots (excludes unloaded refs)