Next.js Discord

Discord Forum

Using a parallel + intercepting route modal without rendering fallback page

Unanswered
Maheśvara posted this in #help-forum
Open in Discord
I have a modal that I want to give access to server-side data on-demand.

To do this, I thought that the parallel + intercepting route modal would work fine, however the challenge would be that if the user refreshes the page on the route, it would try to render the fallback page.

Is there a way I can achieve this? Aka, when the person refreshes the page it routes them back to the original page with the modal in view? Or is this something I will need to use state management/query params to achieve?

0 Replies