• Preparing search index...
  • The search index is not available
Automerge Repo - v2.0.0-alpha.20
  • Automerge Repo
  • @automerge/automerge-repo-react-hooks
  • useHandle

Function useHandle

  • useHandle<T>(id?): DocHandle<T> | undefined
  • A hook which returns a DocHandle identified by a URL.

    Type Parameters

    • T

    Parameters

    • Optional id: AnyDocumentId

    Returns DocHandle<T> | undefined

    Remarks

    This requires a RepoContext to be provided by a parent component.

    • Defined in useHandle.ts:9

Settings

Member Visibility

Theme

Automerge Repo - v2.0.0-alpha.20
  • Loading...

Generated using TypeDoc