Nextjs
7 articles
Has Your Stack Noticed the QUERY Method Is Standard Now
RFC 10008 gives HTTP a safe, cacheable request with a body. I sent QUERY through Node, fetch, Next.js and PHP to see what actually accepts it — verbatim results included.
The Invisible 307 Middleware Send Behind a Login-Dashboard-Login Loop
After a successful login, the page loops back. No console error. No logged exception. The middleware said everything — but not where you were looking.
Contentlayer vs Turbopack: Why You Need pnpm dev --webpack
A freshly scaffolded Next.js starter that refuses to start — and the build flag that's invisible unless you already know you need it.
http://undefined: When Next.js Env Variables Need NEXT_PUBLIC_
In PHP, $_ENV is available everywhere. In Next.js, the server and browser are separate builds — a variable without the NEXT_PUBLIC_ prefix becomes undefined in the client, and nothing tells you.
params Is a Promise in Next.js 16: The Page Fails Without await
In Symfony, $request->attributes->get('slug') is synchronous. In Next.js 16, params is a Promise. Forget the await and your page silently fails.
The Dev Server That Didn't Trust Me
A diagram that wouldn't render, a server log that held the answer from the start, and the PHP reflex that cost two hours before anyone read it.
When a redirect() Inside a try/catch Silently Disappears
In PHP, a redirect is a return value. In Next.js, it's an exception. Mix the two in a try/catch and the redirect silently disappears.