One small feature in the Next.js App Router that I think more developers should use is notFound().

A lot of codebases still handle missing data like this:

It works, but you're manually handling something that Next.js already provides a built-in solution for.

Instead:

Why I prefer this approach: