TypeScript(2)
Types that catch real mistakes: strict mode, generics, narrowing, and typing the edges where outside data enters an app.
- Next.js API Routes: Route Handlers, Caching, and the Server Actions DecisionHow route handlers actually behave in Next.js 16: GET is no longer cached by default, params are async, and most of what you need is a server action instead. With a real deployment that is not on Vercel.17 min read
- TypeScript Best Practices: The tsconfig Flags and Patterns That Catch Real BugsWhich strict flags earn their keep and what each one costs, when to reach for @ts-expect-error over @ts-ignore, why catch variables are unknown, and how to type the edges where outside data enters.13 min read