I want to add routes to my next Project, but can't use shallow-router for different pages. For example, I want to switch from /s/:id to /p/:id, without re-Render the page, just like I'm still at the same URL. My project is already built, and I only want to add routing, but it's not allowed, as the docs shows.
I know it shouldn't work, but What is the Alternative way to do it?