Category · 5 posts
Next.js
App Router patterns, server components, build pitfalls, and the Next.js 16 specifics that bite during production launches.

next-intl tutorial: shipping a multilingual Next.js site
next-intl is the i18n library most App Router projects pick in 2026. Locale-prefixed routes, messages per language, middleware-based detection. The hard parts are hreflang, locale-aware canonicals, and keeping translations in sync, not the library API.

Why your Next.js 16 build crashes on a missing env var and a 5-line Proxy fix
Your production build fails with 'Missing API_KEY' but your runtime works fine. Here is why Next.js collects page data at build time, why naive fixes do not work, and the lazy Proxy pattern that ends it.

SAML SSO in Next.js: the enterprise checklist
SAML SSO unlocks the contracts your sales team cannot close without it. The work is correct IdP integration, SP- and IdP-initiated flows, and the audit trail procurement actually reads. Use BoxyHQ Jackson, WorkOS, or Stytch, do not parse the XML yourself.

Next.js App Router auth that does not fight Server Components
Sessions in cookies, middleware timing, route handlers, and the refresh flow that stops mystery 401s.
