Skip to content

The best way to use the Sanity Client from within the new Studio #3359

Discussion options

You must be logged in to vote

Unfortunately the new document options resolver is still synchronous - this release only adds a getClient() function (not a React hook) to a specific context - the one passed to reference resolvers.

Replies: 1 comment 11 replies

Comment options

You must be logged in to vote
11 replies
@rexxars
Comment options

@16n
Comment options

@franknoirot
Comment options

@rexxars
Comment options

Answer selected by franknoirot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
6 participants