Link won't navigate to app/not-found.tsx in app dir

Hi I made a sandbox example to demo this https://codesandbox.io/p/sandbox/elastic-julien-q8713m?file=%2FREADME.md If I delete the app/not-found.tsx then next links will work as expected (with the default 404 page), am I doing something wrong or is this a bug, ty.
elastic-julien-q8713m
CodeSandbox is an online editor tailored for web applications.
Solution:
Never mind seems to just be an issue with local development i tried deploying the same project on vercel and it works fine xd
Jump to solution
2 Replies
ja_iy
ja_iy16mo ago
Also it seems code sandbox sometimes does a full reload of the page when navigating so it might work sometimes, but it's not actually working, the result can be seen more clearly in local dev/build >_<
Solution
ja_iy
ja_iy16mo ago
Never mind seems to just be an issue with local development i tried deploying the same project on vercel and it works fine xd
Want results from more Discord servers?
Add your server