Indicate loading when page transition takes a long time #13913
-
I use a combination of Usually it happens going from Is there any way of telling Next.js "go ahead, render the next page with the fallback (or the data from getStaticPaths)" if the transition takes eg. more than 100ms? #11088 might be similar, but it does not look to be answered either. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is already the default behavior 🤔 FYI, if you want to add a loading indicator to client-side navigation you can follow this example: https://github.com/vercel/next.js/tree/canary/examples/with-loading |
Beta Was this translation helpful? Give feedback.
This is already the default behavior 🤔
Client-side requests don't block the navigation/rendering of new pages since they don't run in the server. Do you have any example where we can check this behavior?
FYI, if you want to add a loading indicator to client-side navigation you can follow this example: https://github.com/vercel/next.js/tree/canary/examples/with-loading