React & Next.js
Practical guides to React and Next.js: Server Components, Server Actions and patterns for faster apps.
Next.js use cache: How Cache Components Work in 2026
How Next.js use cache works with Cache Components: cacheLife profiles, revalidateTag vs updateTag, WordPress webhooks and the Nov 2026 security patches.
SPA Focus Management: How to Fix Route Changes in React and Next.js
Client-side navigation in React and Next.js doesn’t reset focus or announce the new page. Here’s how SPA focus management works: focusing the h1 with tabIndex -1, what the Next.js route announcer does and doesn’t do, aria-live regions, skip links and testing with Playwright.
React Hydration Error in Next.js: What Causes It and How to Fix Each One
A hydration error means the browser’s first render didn’t match the server HTML. Here’s what causes it in React and Next.js, from dates and typeof window to localStorage and bad HTML nesting, and the fix I use for each one.
Next.js Middleware and Proxy: Auth Redirects, Rewrites, and Matchers Done Right
How I use Next.js Middleware (Proxy in Next.js 16) for auth redirects, safe return paths, rewrites, matchers, cookies and headers – without breaking CSS.
React Server Actions in 2026: Forms and Mutations Without Extra API Routes
Practical Next.js Server Actions for client sites in 2026: progressive forms, useActionState, validation, auth cookies, revalidatePath/Tag, CSRF, and when to use Route Handlers instead.
Next.js Server Components in 2026: Fetch Less on the Client, Ship Faster Pages
Learn Next.js Server Components in 2026 – App Router RSC defaults, async fetches, cache and revalidate patterns, when to use use client, Suspense streaming, and common mistakes that bloat your bundle.