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
8 months ago
CMS Selection & Migration Guide
0 Articles
9 months ago
Next.js 16 Deployment & Self-Hosting
0 Articles
9 months ago
Next.js 16 Caching & Data Fetching
0 Articles
9 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
11 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
11 months ago
Why wrapping already-prebuilt blocks in Suspense still caused 0.999 CLS on Next.js 16, and the shell-level regression…

Next.js

Suspense Around Static Content Still Shifts the Layout: Fixing CLS on a Prebuilt Next.js 16 Site

Even on a fully prebuilt Next.js 16 site, Suspense boundaries around large static sections can still outline content and cause severe CLS. Here is how to…

about 1 month ago
Putting one OpenID Connect issuer on Hono + Better Auth in front of multiple products, with local sessions and the…

Next.js

One Login for Every Product: Building a Central Identity Provider on Better Auth

How I built a central OAuth 2.1 / OIDC identity provider on Better Auth and Hono for multiple products, plus the three production audit gaps that tests missed.

about 1 month ago
How a React hydration timing bug caused GA4 to drop 100% of consenting user data with npa=1 and gcs=G100 — and the…

Next.js

Postmortem: Google Analytics Consent Race Condition in Next.js

A race condition between React consent hydration and GA4 initialization caused Google Analytics to discard all traffic. Here is the timeline, root cause, and…

about 1 month ago
Add a zero-database, markdown-ready comment system to your Next.js blog using Giscus and GitHub Discussions, with…

Next.js

Setting Up Giscus Comments in Next.js (GitHub Discussions)

Step-by-step guide to adding Giscus comments to Next.js: enabling GitHub Discussions, configuring the app, building the React component, and syncing themes.

about 1 month ago
Combine code-inspector-plugin stamps with a TypeScript compiler string index to trace rendered copy back to its exact…

Next.js

Map Rendered Text to File, Line and Column in a Next.js 16 App

Trace any rendered string in a Next.js 16 App Router page back to its exact file, line, and column using code-inspector-plugin and a TypeScript AST index.

about 1 month ago
What partialPrefetching: true vs false actually changes in Next.js 16.4+, when shared shells help, and when to leave…

Next.js

Next.js Partial Prefetching Explained: Should You Enable It?

Next.js 16.4 warns when cacheComponents is enabled without partialPrefetching. Here is what true vs false changes for prefetch requests, shells, and navigation.

about 2 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.

about 2 months 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.

about 2 months 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…

about 2 months 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…

about 2 months 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

about 2 months 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…

2 months 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
11 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
11 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
about 1 year ago