Next.js Discord

Discord Forum

404 requires a client side render

Unanswered
Capelin posted this in #help-forum
Open in Discord
CapelinOP
Using the app router, if I call notFound() from page.tsx, it still needs JS on the front end to render the page. It does give a 404 response but with a blank page.

This is both with or without a custom 404

I am trying to make my app work as much as possible with JS disabled ideally

Is it possible to render 404 without needing another round trip?

1 Reply