OptionaldatasetOptionalperspectiveOptionalprojectOptional BetaresourceExplicit resource object to use for this operation.
OptionalresourceName of a resource registered via the resources prop on <SanityApp>.
Resolved to a DocumentResource at the React layer.
Optional Betasource
React SDK resource handle — extends the core DatasetHandle with
resourceNamefor context-based resource resolution.Use this (or its subtypes) as the options type for custom hooks that need to accept a resource. It accepts a
resourceobject, aresourceNameregistered via theresourcesprop on<SanityApp>, or a bareprojectId/datasetpair for backward compatibility.