Category
Next.js
Posts on building with the Next.js App Router: metadata and generateMetadata, caching and revalidation, and the bugs found shipping abchaudary.me.
5 entries
The Payload Migrate Hang: a Flag That Did Nothing
payload migrate hangs in CI when a dev-mode marker row waits on a y/N prompt no runner can answer. The documented flag does not reach that command. Deleting one row does.
Green Deploy, Stale Page: Docker's Layer Cache, Not Next.js
A Next.js deploy passed build, migrate, health check and smoke test, yet the live site kept serving the old content. The cause was Docker's layer cache.
Why a Loading Screen Can't Wait for React to Hydrate
A React-driven loading overlay can't leave before the bundle it hides has hydrated, because that's the same cost it's meant to be covering for.
Why generateMetadata in Next.js Must Be Async
A synchronous metadata builder reading an unprimed module-scope snapshot put localhost:3000 in page titles and emptied their Person JSON-LD across ten routes.
Why backdrop-filter Breaks After a Lightning CSS Build
Lightning CSS merges duplicate backdrop-filter declarations and keeps the wrong one, deleting a glass effect and the containing block it quietly provided.