React Query For Asynchronous Data within Sanity Studio

I'm using the sanity studio to manage my Sanity CMS. I was able to configure a custom component that fetches data for a specific field in my sanity schema with this guide https://www.sanity.io/schemas/asynchronous-list-options-component-05f63a29. But it is using a normal fetch request which is not optimized. I thought of utilizing react-query for this but i was not able to figure out a way to wire react-query to the sanity studio client. Any input will be appreciated,
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server