Skip to content



Blog category

Next.js: App Router, server components and data fetching

The framework we've built most of our projects on. App Router patterns, server components, data fetching - we write about what the docs don't always cover. See how we work with Next.js.



26 articles

A Russian Blue cat in a Victorian frock coat and cravat stares wide-eyed and innocent with its paws clasped, while the timber-framed houses of 17th-century London burn behind it
12 min read•

PHP2Shell is why we'd avoid WordPress and build headless on Next.js

PHP2Shell is a 9.2-rated PHP flaw, and WordPress runs on PHP. Why we'd pick a headless CMS on Next.js, and what to patch this week.

Jono Alford
Jono
Read blog post


A Tonkinese cat as a Victorian bank vault keeper, one paw on the wheel of a great iron strongroom door, a ring of brass keys at its waistcoat and a ledger stamped CACHED on a lectern
21 min read•

Next.js 16.4 for dummies

Cache Components go recommended, ensureStatic locks routes static, and next upgrade --agent hands the bump to your agent. We upgraded the day it dropped.

Jono Alford
Sne Tripathi
Hrithik Prasad
Aayush Bharti
Jono, Sne, Hrithik, and Aayush
Read blog post


A Scottish Fold as a Victorian portrait painter, standing before three easels holding the same painting on a landscape, a square, and a portrait canvas
13 min read•

Never "design" an OG again

How to render 1200x630, 1080x1080, and 1080x1350 social images from one next/og template in turbo-start-sanity, with real render timings.

Jono Alford
Tope Akintola
Jono and Tope
Read blog post


A Chartreux stonemason in a work apron kneeling to set one plain granite foundation stone, while four brass mechanical inspectors lean in to examine the same stone through different lenses
18 min read•

Build it right once

The AI shift didn't replace SEO. It raised the bar. Here's what moves the needle across search, AI answers, speed, and accessibility, and what's noise.

Hrithik Prasad
Jono Alford
Sne Tripathi
Hrithik, Jono, and Sne
Read blog post


A Himalayan cat as a Victorian telegraph operator, paw on a brass telegraph key beneath pneumatic message tubes and a departure board reading INSTANT
22 min read•

Next.js 16.3 for dummies

Instant navigations explained in plain English, plus our upgrade to 16.3, the cache components PR we parked, and the 341KB we cut instead.

Jono Alford
Sne Tripathi
Hrithik Prasad
Aayush Bharti
Jono, Sne, Hrithik, and Aayush
Read blog post


A tired Victorian cat in a dressing gown rubbing its forehead at a candlelit writing desk, surrounded by crumpled papers reading AEO, GEO and SEO
17 min read•

Next.js AEO/GEO/SEO whatever you want to call it: guide

AEO, GEO, or just SEO: the playbook is the same. Metadata, JSON-LD, sitemaps, and content negotiation, implemented on a production Next.js site.

Jono Alford
Sne Tripathi
Hrithik Prasad
Tope Akintola
Jono, Sne, Hrithik, and Tope
Read blog post


A Victorian Maine Coon cat in an ornate waistcoat handing out a wax-sealed paper scroll to brass mechanical automatons
4 min read•

Install our agency into your agent

Five of our internal skills are now open SKILL.md files, discoverable at /.well-known/agent-skills/index.json. What they do and why we gave them away.

Jono Alford
Hrithik Prasad
Aayush Bharti
Jono, Hrithik, and Aayush
Read blog post


A chubby Victorian cat operating a steam train
10 min read•

Next.js 16.2 for dummies

Faster dev server, faster rendering, 200+ Turbopack fixes. Here's what actually matters.

Jono Alford
Sne Tripathi
Jono and Sne
Read blog post


A Victorian cat night watchman holding a lantern and keys, standing guard at a dark doorway
5 min read•

React Server Components CVE-2026-23864: What you need to know

A high-severity DoS vulnerability is affecting Next.js 13-16 and other RSC frameworks. Here's how to fix it fast.

Jono Alford
Jono
Read blog post


Next.js 16.1 for dummies
6 min read•

Next.js 16.1 for dummies

Turbopack caching goes stable, a new bundle analyzer, and 20MB lighter installs. The boring release that makes everything faster.

Jono Alford
Sne Tripathi
Jono and Sne
Read blog post


Next.js 16 for dummies
12 min read•

Next.js 16 for dummies

Wait, I’m sure it was only just in beta. Guess we’re production ready, baby.

Sne Tripathi
Jono Alford
Sne and Jono
Read blog post


Our cookie banner prayers have been answered
10 min read•

Our cookie banner prayers have been answered

Most cookie consent banners drag down Core Web Vitals. Why we chose c15t, the developer-first consent tool, and what it did for our site's performance.

Jono Alford
Sne Tripathi
Jono and Sne
Read blog post


Working with Turbo Start Sanity
5 min read•

Working with Turbo Start Sanity

This week we launched Turbo Start Sanity. Here's how to get the most out of Roboto Studio's foundational Next.js and Sanity implementation.

Jono Alford
Sne Tripathi
Hrithik Prasad
Jono, Sne, and Hrithik
Read blog post


Our 2024 takeaways with Sanity & Next.js
7 min read•

Our 2024 takeaways with Sanity & Next.js

What a year it's been. There's never been a year when we've seen more paradigm shifts, AI evolution and the state of dev is better than ever.

Jono Alford
Sne Tripathi
Hrithik Prasad
Jono, Sne, and Hrithik
Read blog post


Hidden Gems in Next.js: Features You Might Have Missed
5 min read•

Hidden gems in Next.js: features you might have missed

We spend far too much time trawling through docs, why don't we share some of those little gems with you with Next.js. Pull up a chair.

Jono Alford
Sne Tripathi
Jono and Sne
Read blog post


Optimized Data Fetching in Next.js 15
7 min read•

Optimized data fetching in Next.js 15

Data fetching patterns for Next.js 15, taken from our Vercel optimization talk: server components, caching choices, and real code from Turbo Start Sanity.

Jono Alford
Jono
Read blog post


A really nice Mux video component
4 min read•

A really nice Mux video component

Finding the best way to host video with Mux and Sanity? Well we've got the fastest possible way to get them working together

Jono Alford
Hrithik Prasad
Jono and Hrithik
Read blog post


Building a search bar with Sanity Embeddings Index API & Next.js
5 min read•

Building a search bar with Sanity Embeddings Index API & Next.js

Learn how to build a search bar using Sanity's Embeddings Index API & Next.js. This tutorial guides you through creating a dynamic, API-driven search component.

Hrithik Prasad
Jono Alford
Hrithik and Jono
Read blog post


Working with Formspark & Server action in Next.js 14
4 min read•

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.

Hrithik Prasad
Hrithik
Read blog post


What we learnt updating the Roboto website V3
5 min read•

What we learnt updating the Roboto website V3

We know Next.js app router is catching more heat than the inside of a fresh McDonalds apple pie, but we wanted to test it out. Here's our honest thoughts.

Jono Alford
Jono
Read blog post


The best Next.js & Sanity Image component
4 min read•

The best Next.js & Sanity Image component

Think you know Sanity images in Next.js? Our guide sets the record straight, with code snippets for easy implementation. Get the definitive approach here.

Jono Alford
Jono
Read blog post


Setting up live preview for sanity on next 13.4 using drafts mode
4 min read•

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.

Hrithik Prasad
Hrithik
Read blog post


The state of Chakra UI & Next 13.4
3 min read•

The state of Chakra UI & Next 13.4

Has Chakra UI's roundtable seat been jeopardised by Next & React's shift to Server Components? Dive into our analysis to see if it still reigns supreme.

Jono Alford
Jono
Read blog post


Our App Router setup with Next 13.4, Tailwind CSS and Sanity
4 min read•

Our App Router setup with Next 13.4, Tailwind CSS and Sanity

Build web apps with Next.js 13.4, Tailwind CSS, and Sanity CMS. Our setup for the stable App Router, visual editing, and real-time content collaboration.

Hrithik Prasad
Hrithik
Read blog post


11 top tips for SEO with Sanity & Next.js
6 min read•

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.

Jono Alford
Francesco
Jono and Francesco
Read blog post


Dynamic open graph images with Sanity & Next.js
4 min read•

Dynamic open graph images with Sanity & Next.js

Looking to get dynamic open graph images working with your Sanity & Next.js website? We explain the steps to create truly dynamic images for your future blogs.

Hrithik Prasad
Francesco
Hrithik and Francesco
Read blog post