nuqs with Next.js 16: Type-Safe URL State Management for App Router (2026)
Set up nuqs 2.x in Next.js 16 for type-safe URL state. Parsers, useQueryState, Server Component cache, and a real debounced product search example.
Hannah is a performance-focused frontend engineer with nine years building React applications, the last five exclusively on Next.js. She spent three years at Spotify on the Web Player team optimizing TTI on low-end devices in emerging markets, then two years at a Stockholm-based e-commerce platform where she rebuilt the storefront on App Router and edge runtime, hitting sub-200ms TTFB across European POPs. She currently freelances for DTC brands and SaaS companies that need a Core Web Vitals rescue, and occasionally contributes patches to next/font and the Vercel Speed Insights SDK. She has presented at React Advanced London and React Summit Amsterdam on streaming rendering patterns. Her tutorials are the ones with Lighthouse screenshots and flame graphs, because she doesn't trust benchmarks she can't reproduce. Strong preference for Playwright over Cypress and Vitest over Jest.
Set up nuqs 2.x in Next.js 16 for type-safe URL state. Parsers, useQueryState, Server Component cache, and a real debounced product search example.
How to use next/image in Next.js 16 to ship AVIF/WebP, configure remotePatterns safely, add blur placeholders for remote images, and lock down LCP for Core Web Vitals.
Send beautiful, type-safe transactional emails from Next.js Server Actions and Route Handlers. Complete 2026 guide using Resend, React Email, edge runtime, webhooks, rate limiting, and testing.
A practical 2026 guide to integrating Stripe with Next.js App Router — Checkout Sessions via Server Actions, signed webhooks in Route Handlers, subscription sync, the Customer Portal, and the gotchas most tutorials skip.
Learn how to handle errors in the Next.js App Router using error.tsx, not-found.tsx, and global-error.tsx. Covers Server Action handling with useActionState, Sentry integration, and common production pitfalls — all with working code examples.