Delay in router.push when going from one page to another page that is rendered on server #56775
Unanswered
maneetlodha2839
asked this question in
App Router
Replies: 3 comments 7 replies
-
Could you try the redirect function? This |
Beta Was this translation helpful? Give feedback.
6 replies
-
Hello. I'm having same problem with my code. Did you solve this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have the same issue even with redirect. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Team,
I am using router.push to navigate to another page but when doing so on production there is a slight delay in going to that page, not sure but I guess it waits till the server call is resolved(I am making a server side api call). But is it possible for me to navigate to the page and have my loader shown till the response from my server is resolved. It works fine on my local but it is creating a bad user experience on production as it waits on the page till the API call on server is resolved and browser has received the response.
Beta Was this translation helpful? Give feedback.
All reactions