next-sanity icon indicating copy to clipboard operation
next-sanity copied to clipboard

Sanity.io toolkit for Next.js

Results 32 next-sanity issues
Sort by recently updated
recently updated
newest added

This issue stems from a community question regarding the client bundle size. @chris-erickson [pointed out](https://sanity-io-land.slack.com/archives/C013NG0UF0B/p1623246607068400) that their next.js client build included groq-js. `groq-js` is expected to show up as a...

I am unable to get Safari to display previews, Chrome renders them fine. the usePreviewSubscription hook returns this error object within it's response ``` Error: Not authenticated - preview not...

This issue is the same as my previous closed one: #38. Reason I create a new issue is to make it simpler to understand as I've come to find a...

Hi folks, I found that if I use a combined query like this: ```js const query = groq` { "page": *[_type == "page" && slug.current == $slug][0] { ... }...

I'm currently trying to optimize my bundle size and this module has become a sticking point. I've follow the instructions in the README but @sanity/client is still being included in...

enhancement

In the README.md it says: ```javascript export async function getStaticProps({params, preview = false}) {} ``` [The README.md mentions](https://github.com/sanity-io/next-sanity/blob/d694ae3356bf29006aa2d0d0ef3a8bd96bd751ec/README.md#live-real-time-preview) that [NextJS preview-mode](https://nextjs.org/docs/advanced-features/preview-mode) can be used. But I would argue that it's...

documentation
enhancement

Goals: - Solve token issues in an elegant way, so Safari users get Preview Mode without hurting perf for Chrome. - Don't increase page load JS when preview mode is...

This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. --- Using a [curated preset](https://togithub.com/sanity-io/renovate-config#readme) maintained by Sanity: The Composable Content Cloud --- ##...

🤖 bot

I've been trying a few different ways of getting this to cooperate, but I keep hitting schema errors in Sanity. ```ts // sanity.config.ts import dynamic from "next/dynamic" import { createConfig,...

Since calls to Next.js' `getStaticProps` and `getServerSideProps` must often do further processing on fetched data, it's potentially a false assumption that the user actually wants the data to come through...

feature-request