Is there a way to avoid triggering a parallel route when it's not needed?
Unanswered
dario015569 posted this in #help-forum
Is there a way to add a prop to the Link component to prevent triggering a parallel route?
For example, I have a login modal at the root level. When I'm on the register page, there is a Link to the login page, but it triggers the parallel route. In one particular case, I don't want the modal to be triggered, yet I still need the login modal available in the root.
How can I achieve this?
For example, I have a login modal at the root level. When I'm on the register page, there is a Link to the login page, but it triggers the parallel route. In one particular case, I don't want the modal to be triggered, yet I still need the login modal available in the root.
How can I achieve this?