not-found.js

The not-found file is used to render UI when the notFound function is thrown within a route segment.

app/feed/not-found.tsx
export default function NotFound() {
  return "Couldn't find requested resource"
}

Not Found UI components do not accept any parameters.

Next Steps