Sanity Library Reference Docs
    Preparing search index...

    Variable getPerspectiveStateConst

    getPerspectiveState: BoundGetPerspectiveState = ...

    Provides a subscribable state source for a "perspective" for the Sanity client, which is used to fetch documents as though certain Content Releases are active.

    The Sanity instance to get the perspective for

    The options for the perspective -- usually a release name

    A subscribable perspective value, usually a list of applicable release names, or a single release name / default perspective (such as 'drafts').