Cody Olsen
Cody Olsen
The draft spec has signaled this is coming in the [if-needed spec](https://github.com/w3c/csswg-drafts/pull/5677#issuecomment-729859962), I'll work on this soon 😄
Glad you found a package that works for you 👍 I'm reopening this though as I think this is something this package should support as well 🙂
Hi! What version are you using?
We've just released [`v2.0.0`](https://github.com/sanity-io/next-sanity/releases/tag/v2.0.0) which has docs that shows how you can use custom token auth that solves the problem you've experienced here 😌
In [`v2.0.0`](https://github.com/sanity-io/next-sanity/releases/tag/v2.0.0) you're encouraged in the docs to implement patterns where you're not data fetching on the server when you're in preview mode. As you still have to fetch in...
We've just released [`v2.0.0`](https://github.com/sanity-io/next-sanity/releases/tag/v2.0.0) which has a new preview mode that no longer includes `groq-js` outside of previews 😌
This is fixed in [`v2.0.0`](https://github.com/sanity-io/next-sanity/releases/tag/v2.0.0) by allowing you to split up your groq queries and call `usePreview` for each query and use RSC.
We've just released [`v2.0.0`](https://github.com/sanity-io/next-sanity/releases/tag/v2.0.0) which has updated docs that outline how to do things the "easy way" ™ as well as how to provide a viewer token in a secure...
We've just released [`v2.0.0`](https://github.com/sanity-io/next-sanity/releases/tag/v2.0.0) which encourages code-splitting out of the box by using `React.lazy`. You shouldn't see `@sanity/client` in your bundle anymore, unless it's actually used 😌
We've just released [`v2.0.0`](https://github.com/sanity-io/next-sanity/releases/tag/v2.0.0) which has docs that shows how you can use custom token auth that solves the problem you're experiencing here 😌