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

    Interface UseDocumentOptions

    options for document projections, passed through to solid's createProjection

    interface UseDocumentOptions {
        key?: string | ((item: any) => any) | null;
        name?: string;
        repo?: Repo;
    }

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    key?: string | ((item: any) => any) | null

    how array items are matched up when the whole document is reconciled (the handle switched, or a sub-handle's scope was replaced). a property name, a function, or null to match by position. defaults to "id"

    name?: string

    a debug name for the store

    repo?: Repo

    the repo to find documents in. can be left out when you're inside a RepoContext