AntiPattern
Next.js Runtime Surface Drift
framework-runtime-surface-drift
Next.js app router runtime changes—module/exports differences, static-to-dynamic transitions, and framework lifecycle interactions—cause auth, rendering, HMR, and document injection to break at seemingly unrelated edges, often disappearing when wrappers or integration points move.