#Is it possible to change a URL without refreshing the client in any way in Next13 /app?
4 messages · Page 1 of 1 (latest)
As far as I know, importing useRouter from next/navigation and then using a {shallow: true} push in the app directory should work.
https://nextjs.org/docs/routing/shallow-routing
https://beta.nextjs.org/docs/api-reference/use-router#userouter
when I did that it threw an error taht it didn't know what shallow is
plus plus router.push in 13.3.0 seems to accept only 2 parameters instead of 3