Next.js Discord

Discord Forum

Manual navigation to uncompiled routes with Safari

Unanswered
Polar bear posted this in #help-forum
Open in Discord
Polar bearOP
I encountered unexpected behavior while trying to navigate to uncompiled routes with Safari on Mac OS. I made a project for reproducing the issue: https://github.com/juliusn/route-test
After launching the dev server and loading the initial page, every first attempt to manually navigate to an uncompiled route should fail. I'm not 100% sure if this is a Next.js bug. Any Safari users out there wanna try this?

Interestingly, similar behavior can be reproduced by navigating with <a> links. AFAIK <a> does a full page refresh unlike <Link> from next/link, so maybe the issue has something to do with that?

0 Replies