September 20, 2025
Server Action Patterns: A Cookbook
Six server action patterns I use every week: standard mutations, redirects, optimistic lists, file uploads, progressive enhancement, and hexagonal composition. Code-heavy, opinion-light.
Showing posts tagged: nextjs
Technical articles about software engineering, architecture, and web development.
September 20, 2025
Six server action patterns I use every week: standard mutations, redirects, optimistic lists, file uploads, progressive enhancement, and hexagonal composition. Code-heavy, opinion-light.
November 11, 2023
A case study of the architectural decisions behind a multi-tenant SaaS — hexagonal architecture, server actions as composition root, domain events, multi-tenant routing. What worked, what didn't, and what I'd change.
May 6, 2023
Three years ago I wrote a post about useEffect data fetching patterns that I now think was solving the wrong problem entirely. Here's the confession, and the new model that replaced it.
February 4, 2023
I went all-in on the Next.js App Router for a greenfield project and kept notes along the way. Week by week, from total confusion to something resembling understanding. This is the unedited version.