Retrieves a Sanity client instance configured with the provided options.
This function returns a client instance configured for the project or as a
global client based on the options provided. It ensures efficient reuse of
client instances by returning the same instance for the same options.
For automatic handling of authentication token updates, consider using
getClientState.
Retrieves a Sanity client instance configured with the provided options.
This function returns a client instance configured for the project or as a global client based on the options provided. It ensures efficient reuse of client instances by returning the same instance for the same options. For automatic handling of authentication token updates, consider using
getClientState
.