Articles for people who
ship the stack
Original rewrites on React, Node.js, TypeScript and AI — practical notes from the same engineering practice behind our operator software. Article bodies are in English.
Tagged: zod
React 19 Server Actions with Zod: Less FormData Boilerplate
Use React 19 Server Actions and Zod together, when React Hook Form still wins, and how a small helper removes repeated FormData parsing.
1168 wordsRead articleReplacing as-Casts with Zod Parsing at Every Next.js Data Boundary
Why a TypeScript cast cannot protect you from API drift, and how one Zod schema validates fetch results, forms, Route Handlers and Server Actions in Next.js.
1136 wordsRead articleZod 4.5 compile, validate and safeParse: Choosing a Parser per Boundary
How to benchmark Zod 4.5's compiled parsers and boolean validate fast path on valid and invalid payloads, and where each API belongs without losing error paths.
2605 wordsRead articleBranded IDs in TypeScript: Which Encodings Actually Stop a Wrong Delete
Six ways to type UserId and InvoiceId compared under one test: which ones make tsc reject deleteInvoice(userId), and where Zod brands add runtime safety.
2472 wordsRead articleHand-Built React Forms: Controlled Inputs, Validation and Submit States
Learn how React forms work from controlled inputs and per-type handlers to validation, submission states, dynamic fields, uploads and when a form library pays off.
2992 wordsRead articleTyped Contracts and Zod Guards for a Live WebSocket Analytics Dashboard
How to build a trustworthy real-time dashboard in TypeScript: define payload contracts, validate WebSocket messages with Zod, and stop duplicate connections.
1298 wordsRead articleGuarding the Express Boundary: One Zod Middleware for Body, Params and Query
Learn how to validate Express request bodies, route params and query strings with one reusable Zod middleware, and how it complements Sequelize model validation.
2021 wordsRead articleSeparating Domain, Data and UI Layers in a Next.js App Router Codebase
A Pokédex case study showing how to split a Next.js App Router app into domain, data and presentation layers with Prisma, Zod, cookie auth and caching.
2172 wordsRead articleReviewing prisma-guard Shapes: Ownership, Projection and Write Contracts
Learn to review prisma-guard shapes as API contracts by asking who owns each value, which data can leave a response, and which writes a generated endpoint can run.
2744 wordsRead article
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.