How To
Step-by-step guides. The kind of thing we wish existed when we were figuring it out ourselves.
Page 2

Working with Formspark & Server action in Next.js 14
Build forms in Next.js 14 with Server Actions and Formspark. Working code using useFormState and useFormStatus hooks for handling submissions and loading states.


How to deploy Sanity with GitHub Actions
Learn how to deploy Sanity Studio using GitHub Actions. Automate your workflow, streamline CI/CD, and troubleshoot deployments efficiently


Setting up live preview for sanity on next 13.4 using drafts mode
Set up Sanity live preview with Next.js 13.4 draft mode. Step-by-step guide covering the draftMode API, preview routes, and real-time content updates.


Clean Your GROQ
How to structure GROQ queries that stay readable as your Sanity project grows. Fragment-based patterns with code examples.




11 top tips for SEO with Sanity & Next.js
11 SEO tips for Next.js and Sanity sites: image optimization, structured data, GROQ query efficiency, Vercel analytics, and bundle size reduction.


Sanity top tip: the Grandma test
The Grandma test for Sanity schemas: write field descriptions that non-technical content editors can understand. Code examples and validation tips included.


Tips and tricks for building Sanity schema efficiently
Want to build a page or craft detailed articles? Our Sanity schema tips and tricks offer the perfect starting point. A guide to upping your CMS game.


How to transfer from WordPress to JAMstack fast!
Migrating over to JAMstack from WordPress with ease, using an incredible tool called Stackbit
