Skip to content

Not-found & Error behaviour not clear in docs #62089

Closed Answered by SidKH
danLDev asked this question in App Router
Discussion options

You must be logged in to vote

Hey 👋

I tried to recreate the described issue in the Stackblitz.
The call to notFound() in products/[handle]/page.tsx gets caught by (storefront)/not-found.tsx

CleanShot.2024-02-15.at.16.29.58.mp4

https://stackblitz.com/edit/stackblitz-starters-m8uujb?file=app%2F(storefront)%2Fproducts%2F[handle]%2Fpage.tsx

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@danLDev
Comment options

Answer selected by danLDev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants