router issue
Unanswered
Slate-throated Redstart posted this in #help-forum
Slate-throated RedstartOP
iam using next 13.4 i had deployed app on vercel iam using router.push() for navigation on click of any navgation the screen is not showing any loader.tsx for 2 to 3 seconds after it showing loader and it is navigating can anyone help me to fix this tried suspense in all pages and also tried of using loader.tsx in all pages directory
5 Replies
are you using dev version (ie npm run dev)? as that may be slowing everything down
Send your code as well
Slate-throated RedstartOP
its simple code router.push('/page-name')
@risky are you using dev version (ie npm run dev)? as that may be slowing everything down
Slate-throated RedstartOP
not in dev iam getting the issue on prod
npm run build