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.js11 min read
React and Next.js guides to Server Components, caching, Server Actions, authentication, streaming, and state management.
Understand where your code runs, what gets cached, and which state belongs on the server. These guides connect framework features to forms, dashboards, data access, and the behavior your users actually see.
7 articles by Pavle Aleksic.
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.js11 min read
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.js11 min read
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.js11 min read
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.js11 min read
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.js11 min read
Next.js authentication done right: WorkOS AuthKit on Next.js 16 with proxy.ts, protected routes and server actions, organizations, SSO, and the common pitfalls.
React & Next.js19 min read
Half the state you kept in React now lives on the server. A 2026 decision framework: server data, URL state, local UI state, and when to reach for Zustand.
React & Next.js12 min read