BuildWithMatija
Get In Touch
Build with Matija logo

Build with Matija

Senior-led B2B websites, applications, content systems, and digital infrastructure. Business-first, full-stack, AI-assisted, no handoffs.

Services

  • B2B Website Development
  • CMS Architecture Review & Platform Blueprint
  • Next.js + Payload Advisory
  • AI Integration & Implementation

Resources

  • CMS Hub
  • B2B Website Strategy
  • E-commerce Hub
  • Blog
  • Case Studies
  • About Matija

Payload CMS

  • Payload CMS Developer
  • Payload CMS Migration
  • Payload CMS Demos
  • All Payload CMS Resources

Discuss your project

Planning a rebuild, migration, application, workflow change, or platform decision? Start with the business problem and the system behind it.

Book a discovery callContact me →
© 2026Build with Matija•All rights reserved•Privacy Policy•Terms of Service
  1. Home
  2. Next.js
Next.js

Next.js

Hub Category

Learn everything about Next.js, the leading React framework for building production-ready web apps.

Featured Articles

How to Update Sanity Schema in Nextjs 15

A practical guide to updating your Sanity schema in modern Next.js 15 apps — simplified and developer-friendly.

Matija Žiberna
Matija Žiberna
•15th May 2025
Integrating Sanity.io with Next.js 15: A Step-by-Step Guide

Create a Powerful, Easy-to-Manage Blog with Sanity and Next.js

Matija Žiberna
Matija Žiberna
•28th February 2025

Series in this Category

All Articles in this Hub

  • Previous
  • 1
  • 2
  • More pages
  • 12
  • Next
Page 1 of 12

Related Categories

Newsletter

Stay Updated

Get practical notes and implementation updates without the noise.

Blog
How to Update Sanity Schema in Nextjs 15
Read more
Integrating Sanity.io with Next.js 15: A Step-by-Step Guide
Read more
Building UI & Forms in Next.js

Build production UI and forms in Next.js: data tables with TanStack, React Hook Form, Zod validation, Server Actions, multi-step wizards, and UI component patterns with shadcn/ui.

0 Articles
7 months ago
CMS Selection & Migration Guide
0 Articles
8 months ago
Next.js 16 Deployment & Self-Hosting
0 Articles
8 months ago
Next.js 16 Caching & Data Fetching
0 Articles
8 months ago
Email & Transactional Communications: Complete Guide
Series
Email & Transactional Communications: Complete Guide

Build production email infrastructure: React Email templates, transactional emails with Brevo, CMS email notifications in Payload and Sanity, and newsletter marketing integration.

0 Articles
10 months ago
Internationalization & Multilingual Sites with Next.js

Build multilingual Next.js applications with next-intl: setup, routing, SEO optimization with canonical tags and hreflang, and CMS admin interface localization for production-ready international sites.

0 Articles
10 months ago
A production guide to user impersonation with Neon Auth (Better Auth) and Next.js, including the __Secure- cookie…

Next.js

How to Add "Log In As User" Impersonation with Neon Auth in Next.js

Learn how to implement superadmin "log in as user" impersonation using Neon Auth, service accounts, and Next.js server actions while avoiding cookie bugs.

8 days ago
Practical breakdown of Next.js 16.4 canary: Partial Prefetching with unstable_ensureStatic, next analyze, stricter…

Next.js

Next.js 16.4 Is Out: Cache Components, React 19.3, and Upgrade Guide

Next.js 16.4 is official. Learn what changed since canary, how ensureStatic and navigation work, and what to test before upgrading an existing app.

8 days ago
Production-ready Neon Managed Better Auth on Vercel with Next.js: proxy /api/auth, service-account admin, six-digit…

Next.js

Neon Managed Better Auth in Next.js on Vercel: A Production Setup Guide

Set up Neon Managed Better Auth in Next.js on Vercel for production: secure proxying, service-account admin flows, six-digit OTP resets, and signed webhook…

10 days ago
Step-by-step Next.js migration from Stack Auth to Neon Managed Better Auth with backup, admin, and user-relink…

Next.js

How to Migrate from Stack Auth to Neon Managed Better Auth in Next.js

A production-tested guide to migrate to Neon Managed Better Auth in Next.js—backup, rehearse on a spike branch, create a service account, re-create users, and…

11 days ago
Step-by-step guide to building a zero-dependency, voice-ready editorial annotation popover with native browser…

Next.js

How to Build an In-Article Editorial Annotation Layer in Next.js with Vanilla JavaScript and CSS

14 days ago
Declare AI content preferences with Next.js 16.3 and the new other directive map in app/robots.ts.

Next.js

How to Implement Content Signals in Next.js 16 (robots.ts)

Learn how to implement Content Signals in Next.js 16 using the official other field in app/robots.ts to declare granular AI training, search, and input…

21 days ago
Allow Claude, ChatGPT, and Gemini to crawl your Next.js site without triggering edge 429 rate limits or exposing…

Next.js

Configure Vercel Firewall for AI Bots: Stop 429 Rate Limits at the Edge

Learn how to configure Vercel Firewall and WAF bypass rules so AI search bots and live browsing agents can index your Next.js blog without hitting edge 429…

21 days ago
How to run Payload CMS migrations before Next.js Cache Components builds on Vercel and safely rollback on failure.

Next.js

Run Payload CMS Migrations Before Vercel Build: Safe Rollback Guide

Avoid broken Next.js builds: run Payload CMS migrations before Vercel builds and auto-rollback failed deploys with payload migrate:down for a safer release.

27 days ago
A practical framework to preserve design, prove parity, and integrate prototypes into production with Next.js and…

Next.js

How to Take Over a Frontend: 4-Step Production Framework

Learn how to take over a frontend without risky rewrites: preserve design, prove parity, integrate vertically, and harden on touch to ship maintainable…

about 1 month ago
Implement secure, production-ready live previews with Next.js Draft Mode, signed preview tokens, multi-site locales…

Next.js

Ultimate Payload CMS Live Preview Guide for Next.js

A production-ready guide to Payload CMS live preview with Next.js: implement secure draft endpoints, short-lived preview tokens, proper draft/published…

about 1 month ago
Keep layout, navbar and footer cached with cacheComponents while handling cookies, headers, Draft Mode, and metadata…

Next.js

Next.js Cache Components: Static Shell Pattern Guide

Use Next.js Cache Components to keep your layout, navbar, and footer static while resolving cookies, headers, Draft Mode, and metadata correctly.

about 1 month ago
Multi-collection cache tagging, typed cache policies, and CDN-safe tactics to prevent stale data in Next.js

Next.js

Next.js Cache Tag Invalidation: Stop Ghost Data Fast

Next.js cache tag invalidation fix: build a dependency matrix, enforce multi-collection cache tags with a typed policy, and avoid CDN header truncation.

about 1 month ago
React

React

Articles and tutorials on building modern web interfaces using React — from components and hooks to performance optimization and architecture.

AEO — Make Your Blog Discoverable by AI
Series
AEO — Make Your Blog Discoverable by AI

Make your blog discoverable by AI: implement llms.txt protocol, Markdown mirrors, and structured metadata so LLM crawlers find your technical content efficiently.

0 Articles
10 months ago
Building MCP Servers with Next.js
Series
Building MCP Servers with Next.js

A comprehensive 4-part series on building production-ready MCP (Model Context Protocol) servers in Next.js. From initial setup through OAuth security and email automation - everything you need to connect Claude to your business data.

0 Articles
10 months ago
Design to Code: Building Block Systems with Payload CMS
Series
Design to Code: Building Block Systems with Payload CMS

A comprehensive 7-part guide to translating design systems into production-ready Payload CMS implementations using design-driven development principles.

0 Articles
11 months ago