Skip to content
jsmanifest logojsmanifest

Posts tagged “nextjs

19 posts found

Next.js Caching Mental Model in 2026: Request Memoization, Data Cache, Full Route Cache, and Router Cache Explained Once and for All

Next.js Caching Mental Model in 2026: Request Memoization, Data Cache, Full Route Cache, and Router Cache Explained Once and for All

September 18, 2026

Most Next.js caching confusion stems from conflating four distinct layers. This post builds the mental model teams need to ship fast, cacheable apps in 2026.

nextjscachingreact+2
Next.js Route Handlers in 2026: Replacing API Routes, Handling Streaming Responses, and Edge Runtime Gotchas

Next.js Route Handlers in 2026: Replacing API Routes, Handling Streaming Responses, and Edge Runtime Gotchas

September 12, 2026

Route Handlers replaced API Routes in Next.js 13+. Learn streaming responses, edge runtime constraints, and production patterns for webhooks, uploads, and SSE in 2026.

nextjsroute handlersstreaming+2
Next.js useRouter vs redirect vs permanentRedirect in App Router: Choosing the Right Navigation Primitive

Next.js useRouter vs redirect vs permanentRedirect in App Router: Choosing the Right Navigation Primitive

September 10, 2026

Master Next.js App Router navigation by understanding when to use useRouter, redirect, and permanentRedirect. Learn the technical differences, performance implications, and real-world patterns that prevent runtime crashes and SEO penalties.

nextjsnavigationapp router+2
Next.js 16 Form Component: Built-In Progressive Enhancement and Why It Replaces Your Custom Wrappers

Next.js 16 Form Component: Built-In Progressive Enhancement and Why It Replaces Your Custom Wrappers

September 6, 2026

The Next.js 16 Form component delivers native progressive enhancement for server actions. Learn when it replaces custom wrappers and when teams still need their own abstractions.

nextjsreactforms+2
Next.js after() API: Running Side Effects After the Response Without Blocking the User

Next.js after() API: Running Side Effects After the Response Without Blocking the User

September 5, 2026

The after() API in Next.js enables non-blocking side effects that execute after the response completes. Learn when to use it, how it differs from alternatives, and the production tradeoffs that matter.

nextjsperformanceserver actions+2
Next.js Dynamic IO in 2026: Opting Components Into Static or Dynamic Rendering Without Layout Thrash

Next.js Dynamic IO in 2026: Opting Components Into Static or Dynamic Rendering Without Layout Thrash

August 30, 2026

Master Next.js Dynamic IO to control component-level rendering boundaries. Learn when to use `use cache`, how it differs from Partial Prerendering, and the streaming patterns that prevent layout thrash in production.

nextjsdynamic renderingreact+2
Next.js Image Optimization in 2026: `next/image` v4, AVIF by Default, and the Config Changes Teams Miss

Next.js Image Optimization in 2026: `next/image` v4, AVIF by Default, and the Config Changes Teams Miss

August 15, 2026

The configuration defaults that ship with next/image v4 break production image pipelines. Learn the AVIF format switch, remotePatterns migration, and cache settings that prevent silent failures.

nextjsimage optimizationavif+2
Next.js 16 Server Actions in Production: Patterns, Validation, and the Mistakes Teams Make at Scale

Next.js 16 Server Actions in Production: Patterns, Validation, and the Mistakes Teams Make at Scale

July 26, 2026

Most Server Actions fail at scale because teams treat them as internal functions instead of public POST endpoints. Learn the production patterns for authentication, validation, multi-tenant authorization, and choosing between Server Actions and Route Handlers in Next.js 16.

nextjsserver actionsreact+2
Next.js unstable_cache vs fetch Cache in 2026: Which One Actually Belongs in Your App

Next.js unstable_cache vs fetch Cache in 2026: Which One Actually Belongs in Your App

July 11, 2026

The caching story in Next.js has evolved dramatically. Learn when fetch cache fails, why unstable_cache exists, and how the use cache directive changes everything for production apps in 2026.

nextjscachingfetch+2
React Server Components in 2026: Patterns, Pitfalls, and When to Actually Use Them

React Server Components in 2026: Patterns, Pitfalls, and When to Actually Use Them

June 21, 2026

Most RSC adoption failures stem from misunderstanding the server/client boundary. This post covers production-ready patterns, common serialization pitfalls, and the decision framework for when server components actually solve your problem.

reactserver-componentsnextjs+2
Next.js 16 and Turbopack by Default: Partial Prerendering and the New Cache Model Explained

Next.js 16 and Turbopack by Default: Partial Prerendering and the New Cache Model Explained

June 3, 2026

Most Next.js performance problems stem from misunderstanding the cache layer. Next.js 16 introduces Turbopack as default, Partial Pre-Rendering, and explicit caching with 'use cache'—here's what actually changed and how to migrate without breaking production.

Next.jsTurbopackPerformance+2
Next.js 15 Caching: What Changed and Why

Next.js 15 Caching: What Changed and Why

May 22, 2026

Next.js 15 reversed aggressive caching defaults. The new opt-in model, use cache directive, and revalidation APIs change how production apps handle data freshness and performance.

Next.jscachingperformance+2
Next.js Intercepting Routes: Modal Patterns Done Right

Next.js Intercepting Routes: Modal Patterns Done Right

May 20, 2026

Most modal implementations break the browser's back button and lose state on refresh. Next.js intercepting routes solve both problems through file-system conventions that map URLs to overlays.

nextjsreactrouting+2
Next.js Middleware: Production Patterns and Pitfalls

Next.js Middleware: Production Patterns and Pitfalls

May 20, 2026

Most Next.js middleware failures in production stem from misunderstanding the Edge Runtime's constraints. Learn the patterns that separate resilient middleware from brittle implementations that break under load.

Next.jsmiddlewareedge functions+4
Next.js Parallel Routes: Build Complex Layouts

Next.js Parallel Routes: Build Complex Layouts

May 19, 2026

Most dashboard layout problems stem from forcing sequential rendering when parallel composition is needed. Learn how Next.js parallel routes solve complex layout patterns that break with traditional approaches.

Next.jsApp RouterReact+1
Next.js Streaming SSR: Faster Time to First Byte

Next.js Streaming SSR: Faster Time to First Byte

May 18, 2026

Most Next.js SSR performance problems stem from waiting for all data before sending HTML. Learn how streaming SSR reduces TTFB from 800ms to under 100ms with React Suspense and proper implementation patterns.

Next.jsSSRPerformance+3
Next.js App Router: Layouts vs Templates Explained

Next.js App Router: Layouts vs Templates Explained

May 17, 2026

Most Next.js routing problems stem from choosing the wrong wrapper component. Learn exactly when to use layouts versus templates, and why the distinction matters for state persistence and performance.

Next.jsApp RouterRouting+2
React 19 Server Components: A Practical Walkthrough

React 19 Server Components: A Practical Walkthrough

May 7, 2026

A hands-on guide to understanding and implementing React Server Components in React 19. Learn the mental model, avoid common pitfalls, and build real-world examples.

reactreact19server-components+2
5 Tips for Newcomers to Approach Your Next React App

5 Tips for Newcomers to Approach Your Next React App

January 19, 2020

Starting a fresh modern front end project today can become quite stressful since there are an abundance of variations of specific tools that go hand in hand in each stack. Here are 5 tips to help you.

javascriptreacttools+4