BuildWithMatija
Get In Touch
Build With Matija Logo

Build with Matija

Modern websites, content systems, and AI workflows built for long-term growth.

Services

  • Headless CMS Websites
  • Next.js & Headless CMS Advisory
  • AI Systems & Automation
  • Website & Content Audit
  • Resources

    • Case Studies
    • How I Work
    • Blog
    • CMS Hub
    • E-commerce Hub
    • Dashboard

    Headless CMS

    • Payload CMS Developer
    • CMS Migration
    • Payload vs Sanity
    • Payload vs WordPress
    • Payload vs Contentful

    Get in Touch

    Ready to modernize your stack? Let's talk about what you're building.

    Book a discovery callContact me →
    © 2026BuildWithMatija•All rights reserved

    Technical Blog

    Long-form technical guides for developers and evaluators.

    How-to guides, tutorials, comparisons, and troubleshooting posts covering Payload CMS, Next.js, Docker, and related systems.

    RSS Feed

    Browse by area

    Open hub
    Open hub
    Audience
    More
    Sort
    Type

    All Articles (97 of 97 articles)

    Senior developer guide comparing TanStack Start and Next.js 16 on routing, SSR, type safety, performance
    ComparisonNext.js
    TanStack Start vs Next.js 16: Ultimate Comparison 2026

    Senior-level comparison of TanStack Start vs Next.js 16 — decide which framework is better for SSR, routing, type safety, performance, and production readiness.

    Matija Žiberna
    Matija Žiberna
    about 6 hours ago
    13 min read
    A five-axis framework to pick the best headless CMS for Next.js—App Router, AI readiness, hosting model, and TCO.
    Content Management SystemComparison
    Best Headless CMS for Next.js in 2026: Decision Guide

    Find the best headless CMS for Next.js using a five‑axis framework—ownership, editor UX, App Router, AI readiness, and upgrade stability. Save migration time.

    Matija Žiberna
    Matija Žiberna
    Mid-market contractor guide: CMS choices, portfolio freshness, mobile performance, and SEO-focused sector pages.
    Short ExplainerNext.js
    Best Construction Company Websites 2026: What Works

    Discover how a construction company website turns projects into leads: CMS setup, portfolio structure, mobile speed, sector pages, and visible contact paths.

    Matija Žiberna
    Matija Žiberna
    Illustration representing Next.js component-level error handling, with one UI panel failing gracefully while the rest of the interface remains active.
    Short ExplainerNext.js
    unstable_catchError() in Next.js Is More Important Than It Looks

    unstable_catchError() is not the flashiest addition to Next.js, but it may be one of the most important. By making error boundaries more composable and more local, it becomes easier to build interfaces that fail gracefully instead of collapsing at the route level.

    Matija Žiberna
    A developer using Next.js with an AI coding agent that can inspect documentation, browser logs, and runtime state from the terminal
    InsightNext.js
    Next.js Is Becoming Agent-Native

    Next.js is starting to treat AI coding agents as a real user of the framework. The shift is not just about adding AI features, but about exposing documentation, runtime state, browser logs, and debugging tools in ways agents can reliably use. That could make Next.js genuinely agent-native.

    Matija Žiberna
    Matija Žiberna
    Practical architecture, ISR, image optimization, cold-start strategies, and Amplify comparison for Next.js deployments…
    Short ExplainerNext.js
    OpenNext on AWS: The Honest 2026 Guide to Self-Hosting

    OpenNext on AWS: honest 2026 guide to deploying Next.js with Lambda, S3, CloudFront, ISR, image optimization, costs, and migration advice. Plan for cold starts.

    Matija Žiberna
    Matija Žiberna
    How adapters, OpenNext, and the Next.js Ecosystem Working Group reduce Vercel lock-in and simplify self-hosted…
    Short ExplainerNext.js
    Next.js Self-Hosting: Why It's Finally Becoming Practical

    Next.js self-hosting is now realistic: adapters, OpenNext, and the Ecosystem Working Group reduce Vercel lock-in and make ISR/edge behavior more predictable…

    Matija Žiberna
    Matija Žiberna
    Clear guidance on unstable_cache, Cache Components, and 'use cache' in Next.js 16—practical advice for Payload CMS…
    Short ExplainerNext.js
    Next.js 16.2 Caching Explained: unstable_cache vs use cache

    Next.js caching demystified: learn when to use unstable_cache, Cache Components, or 'use cache' in Next.js 16.2 to integrate Payload CMS and avoid migration risk.

    Matija Žiberna
    Matija Žiberna
    Next.js 16.2: faster Server Components deserialization, Payload CMS speed gains, better hydration & error debugging.
    Short ExplainerNext.js
    Next.js 16.2: 25–60% Faster Rendering & Debugging Tips

    Next.js 16.2 delivers up to 60% faster Server Components rendering and gains for Payload CMS, plus dev-only Server Function logs and clearer hydration diffs.

    Matija Žiberna
    Matija Žiberna
    Restore next-intl locale routing after upgrading to Next.js 16: rename middleware.ts→proxy.ts, add provider, and…
    How-ToNext.js
    Fix next-intl in Next.js 16: Rename middleware to proxy

    Fix next-intl in Next.js 16 and restore locale routing now—rename middleware.ts to proxy.ts, add NextIntlClientProvider, and return locale from…

    Matija Žiberna
    Matija Žiberna
    Build a markdown-based blog with Next.js, gray-matter and remark—static generation, SEO frontmatter, Tailwind styling…
    How-ToNext.js
    Next.js Markdown Blog: Complete Static Guide for Developers

    Build a fast, git-backed Next.js markdown blog using gray-matter and remark: static generation, SEO-friendly frontmatter, Tailwind styling, and no CMS—follow…

    Matija Žiberna
    Matija Žiberna
    Map five auth contexts—Payload CMS, Shopify OAuth, service-to-service refresh tokens, MCP/PKCE, and security…
    Short ExplainerNext.js
    Next.js Authentication: 5 Strategies & When to Use Them

    Stop building the wrong flow. This Next.js authentication guide maps five contexts—from Payload CMS and Shopify OAuth to refresh tokens and MCP/PKCE—so you…

    Matija Žiberna
    Matija Žiberna
    • Previous
    • 1
    • 2
    • More pages
    • 9
    • Next
    Page 1 of 9

    Explore Topics

    Discover curated content across our most popular categories

    Next.js
    Next.js

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

    How to Update Sanity Schema in Nextjs 15

    How to Update Sanity Schema in Nextjs 15

    by Matija Žiberna

    Integrating Sanity.io with Next.js 15: A Step-by-Step Guide

    Integrating Sanity.io with Next.js 15: A Step-by-Step Guide

    by Matija Žiberna

    View all Next.js articles →

    Newsletter

    Stay Updated

    Get practical notes and implementation updates without the noise.

    2 days ago
    16 min read
    5 days ago
    14 min read
    Matija Žiberna
    9 days ago
    9 days ago
    11 days ago
    14 min read
    12 days ago
    7 min read
    19 days ago
    10 min read
    21 days ago
    6 min read
    21 days ago
    5 min read
    25 days ago
    14 min read
    29 days ago
    10 min read
    React
    React

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

    React Hook Form Multi-Step Tutorial: Zustand + Zod + Shadcn

    React Hook Form Multi-Step Tutorial: Zustand + Zod + Shadcn

    by Matija Žiberna

    The Invisible Form Bug: React 19 + React Hook Form's Hidden Compatibility Issue

    The Invisible Form Bug: React 19 + React Hook Form's Hidden Compatibility Issue

    by Matija Žiberna

    View all React articles →
    Docker
    Docker

    Everything you need to know about using Docker to build, ship, and run applications in isolated environments.

    Docker Volume is in Use Error? 4 Proven Solutions

    Docker Volume is in Use Error? 4 Proven Solutions

    by Matija Žiberna

    Fix Docker Permission Denied: Volumes, Bind Mounts & CI/CD

    Fix Docker Permission Denied: Volumes, Bind Mounts & CI/CD

    by Matija Žiberna

    View all Docker articles →
    Cloudflare
    Cloudflare

    Guides and insights on using Cloudflare for performance optimization, DNS management, security, and edge computing.

    How To Programmatically Add DNS Records To Cloudflare In Node

    How To Programmatically Add DNS Records To Cloudflare In Node

    by Matija Žiberna

    View all Cloudflare articles →