🔮 Sanity Create is here. Writing is reinvented. Try now, no developer setup

GraphQL vs REST: which API is best for your web app?

Are you planning to build an API for your web application and you don't know what architectural approach to take? In this article, we will describe REST and GraphQL APIs. We will see their features, advantages, disadvantages, and use cases.

Facundo Giuliani
Go to GraphQL vs REST: which API is best for your web app?

Make a Progressive Web App with React

Learn how to create a PWA with Sanity and React. This is a step-by-step tutorial to help you go from idea to deployment. First, we'll define what PWAs are and how Sanity can help you power one, and then… a full tutorial!

Rico Kahler
Go to Make a Progressive Web App with React

Run end-to-end test with Jest and Puppeteer

In this guide, you'll be learning how to test your React application with Jest and Puppeteer. It walks through installing, writing, and debugging test scripts on the home page of a website. Testing is very important when it comes to developing web applications. It helps to ensure that your application is free from bugs and your application is behaving as expected.

Tomi Adekanye
Go to Run end-to-end test with Jest and Puppeteer

Dynamic GROQ Query in JavaScript

As we get to use GROQ more and more, it's inevitable when we get ourselves to situations where we need to construct queries dynamically. Here's how you make dynamic GROQ query in JavaScript.

Dorell James
Go to Dynamic GROQ Query in JavaScript

Custom Commerce.js input field for Sanity.io

Pair your headless content with headless commerce! Select your Commerce.js products directly from Sanity Studio.

This is an external link at:commercejs.com
Nikita Kakuev
Go to Custom Commerce.js input field for Sanity.io

GROQ - a GraphQL alternative?

Heard of GROQ? How can it be used as an alternative to GraphQL? This article will not only introduce you to GROQ but you'll also learn to hopefully appreciate it. Truly a hidden gem out there!

This is an external link at:www.dorelljames.com
Dorell James
Go to GROQ - a GraphQL alternative?

Validation snippets for SANITY.io

A few handy copy and paste snippets for handling input validation in your content studio.

This is an external link at:www.erichowey.dev
Eric Howey
Go to Validation snippets for SANITY.io

Using Theme UI with SANITY.io

Learn how to integrate SANITY.io block content with Theme UI styles on your frontend

This is an external link at:www.erichowey.dev
Eric Howey
Go to Using Theme UI with SANITY.io

Getting started with Sanity UI

Sanity UI is in early access and ready to be used in your projects. In this guide, we'll dive into using it in your studio

Bryan Robinson
Go to Getting started with Sanity UI