Like I mentioned in my post, I'm not really convinced by this approach for real-time live preview. The team at Sanity recently released a better real-time preview mode for Next.js which uses the @sanity/groq-store package under hood.
Hoping that next year we can get a similar library for Nuxt.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey! I'm glad to know that my article was useful for you.
Maybe it's necessary to order the documents to be sure to get the draft first, like this:
Like I mentioned in my post, I'm not really convinced by this approach for real-time live preview. The team at Sanity recently released a better real-time preview mode for Next.js which uses the @sanity/groq-store package under hood.
Hoping that next year we can get a similar library for Nuxt.