Next.js Discord

Discord Forum

How to debug intercepting routes

Unanswered
Spectacled bear posted this in #help-forum
Open in Discord
Spectacled bearOP
I have a working parallel intercepting route that is only one directory deep (/add). I created a second intercepting route at edit/[id], and AFAIK I did everything the same, but the modal doesn't show. Next does seem to know it should show, because the main content isn't replaced by the non-intercepted route. However, I am lost about what kinds of things I can do to figure out why the intercepting route content is not showing up in the dom.

Does anyone have any debug techniques they can share?

1 Reply

Spectacled bearOP
Bump