Sanity Library Reference Docs
    Preparing search index...
    • The one-doc read a reactive adapter subscribes with to observe a content doc under a perspective stack. It uses the same perspective semantics as hydrateSnapshot: draft/version content is projected onto the published id, and a doc that exists only as a draft or release version remains visible.

      Parameters

      • documentId: string

      Returns CompiledQuery