jsmanifest
Modern web development insights. React, TypeScript, and beyond.
Recent Posts
View all →Next.js forbidden() and unauthorized() in App Router: Replacing Redirect-Based Auth Guards With Semantic HTTP Responses
October 8, 2026
Most Next.js authentication patterns fail silently by redirecting users instead of returning proper HTTP status codes. Learn how forbidden() and unauthorized() replace middleware redirects with semantic responses that work correctly for browsers, crawlers, and API clients.
Next.js Typed Routes in 2026: Enabling typedRoutes Experimentally and What It Catches That TypeScript Alone Misses
October 7, 2026
The experimental typedRoutes flag prevents route string errors that TypeScript cannot see. Learn what it generates, what it catches, and when it fails to help.
TypeScript `using` With AsyncDisposableStack: Coordinating Multi-Resource Teardown in Real Server Code
October 6, 2026
Production patterns for coordinating database connections, Redis locks, and file handles with TypeScript's AsyncDisposableStack. Real examples showing why manual try-finally chains fail and how adopt(), defer(), and move() solve complex teardown flows.
Stay Updated
Get the latest articles and updates delivered straight to your inbox.