Answers from the community about Next

Some of the conversations between community members on questions, suggestions and tips for using Sanity. Join our Slack to be a part of it.

TopicCategoriesFeaturedRepliesLast Updated
Discussion on creating custom slugs for documents in Sanity and simplifying the process of turning references into links...22Apr 2, 2021
Using Sanity data in Next.js API routes for Snipcart integration8Nov 4, 2021
Tips for migrating from WordPress to Sanity, including using WPGraphQL and block tools.29Mar 10, 2021
Discussion on using next-optimized-images with Sanity's CDN and potential issues with next/image and lazy loading.37Feb 23, 2021
Issue with Next.js live preview mode causing content to disappear on page load24Jan 16, 2022
Discussion on using Sanity with Next.js, including an error message and troubleshooting, and a brief tangent on TypeScript...44Apr 28, 2020
Using GROQ queries in Next.js components and the limitations of fetching data on the client-side.12Dec 18, 2021
Discussion on strange page loading behavior in a NextJS project with dynamic imports and getStaticProps.11Mar 23, 2022
Creating a custom input field in Sanity for auto-generating a field based on another's value.6Aug 18, 2021
Best practice for creating internal links with unique slugs in Sanity and Next.js9Sep 1, 2021
Error with createImageUrlBuilder function in Sanity.io project6Mar 13, 2022
Build failing for Gatsby Next pages due to missing dependencies6Jun 3, 2020
Trouble with `next-sanity` preview hook not displaying draft data in blog post.10Apr 8, 2021
How to create a reference mark in Sanity using block-tools and a portable text schema.5Feb 21, 2022
Filtering products by sub-categories in Sanity.io schema6Sep 5, 2021
Discussion about adding brotli compression to Sanity's CDN25Mar 4, 2021
Tips for reducing API requests and bandwidth usage on a high-traffic Next.js blog9Mar 23, 2022
Troubleshooting issues with setting up environment variables for a Next.js project27Apr 7, 2022