Solid Automerge - v2.0.0
    Preparing search index...

    Function useDocument

    • get a fine-grained live view of a document, and its handle, from a URL.

      Type Parameters

      • T extends object

      Parameters

      • url: MaybeAccessor<AutomergeUrl | undefined>

        a function that returns a url

      • Optionaloptions: UseDocHandleOptions

      Returns [Accessor<Doc<T> | undefined>, Resource<DocHandle<T> | undefined>]