LivePreviewDocumentQueryResult
LivePreviewDocumentQueryResult<
TCollectionSlug> =Omit<UseQueryResult<DocumentByResourceSlug<TCollectionSlug> |null>,"data"> &object
Defined in: packages/react/src/livePreview/LivePreviewContext.tsx:372
useLivePreviewDocumentQuery’s result — the underlying single-document query
result, with null collapsed into undefined so consumers have one
“nothing to render” case instead of two.
Type Declaration
Section titled “Type Declaration”data:
DocumentByResourceSlug<TCollectionSlug> |undefined
Type Parameters
Section titled “Type Parameters”TCollectionSlug
Section titled “TCollectionSlug”TCollectionSlug extends VexResourceSlug = VexResourceSlug