Category

React & Next.js

7 articles on react & next.js.

React & Next.js·10 min read

Server Actions in Next.js 16: Forms, Mutations, and the Pitfalls

Server Actions make mutations feel native in the App Router, until security and revalidation bite. Here is how I use them in production, and what to avoid.

React & Next.js·10 min read

React Server Components: A Mental Model That Finally Makes Sense

Server Components confuse even experienced React devs. Here is the mental model that makes the server/client boundary obvious, and the mistakes to avoid.

React & Next.js·10 min read

Next.js 16 Caching, Demystified: use cache, PPR, and Revalidation

Next.js caching has burned every team I have worked with. Here is how the Next.js 16 model, use cache, cacheLife, cacheTag and PPR, actually works.

React & Next.js·9 min read

You Probably Do Not Need useEffect: Patterns That Replace It

Most useEffect calls I review are bugs waiting to happen. Here are the patterns that replace effects for derived state, data fetching, and event logic.

React & Next.js·9 min read

Streaming and Suspense in the App Router: Faster Perceived Loads

Streaming lets the App Router send HTML before the data is ready. How Suspense, loading.tsx, and parallel fetching cut perceived load time without rewrites.

React & Next.js·7 min read

Next.js 16 Authentication with WorkOS AuthKit: A Practical Guide

A practical guide to wiring WorkOS AuthKit into a Next.js 16 App Router app: middleware, async cookies, protecting Server Components, and a security checklist.

React & Next.js·10 min read

Managing State in React in 2026: Server-First, Then Zustand

Half the state you used to keep in React now lives on the server. A 2026 decision framework: server data, URL state, local UI state, and when to reach for Zustand.