Replies: 1 comment 1 reply
-
If you want to distinguish between the initial access and client-side navigation, I think this will be helpful. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm working on a web app want the initial load to be fully server-side rendered (SSR) but to offer a smoother experience for subsequent navigations using
<Link />
. My goal is to provide instant route changes and display a loader while data is being fetched, preventing the UI from blocking the navigation until the data resolves.Here’s a simplified version of my approach:
Requirements
Initial Load: SSR (The initial page load should always render from the server)
Subsequent Navigations: Client-Side (After the initial page load, navigation via should feel instant, without waiting for the server to resolve the data. If data is still loading, I want to show a loader in the target route)
Questions
Thanks in advance for your insights!
Beta Was this translation helpful? Give feedback.
All reactions