Couldn't get pendingComponent to render
I know I'm using
Anyway. I'm working on a fresh Start project via
EDIT
It actually works on page navigation, but not on browser page refresh, which was what I tested originally. I'm still wrapping my head around SSR, but I assume this is working as intended.
createServerFn from Start, but I think this is more of a Router question, so I think it fits here.Anyway. I'm working on a fresh Start project via
pnpm create @tanstack/start@latest. I'm still new to the whole Tanstack stack. I'm reading the doc about Data Loading, and in the Showing a pending component section, it is said that pendingComponent will be shown when it takes more than 1 sec for the loader to resolve.EDIT
It actually works on page navigation, but not on browser page refresh, which was what I tested originally. I'm still wrapping my head around SSR, but I assume this is working as intended.
Data loading is a common concern for web applications and is related to routing. When loading a page for your app, it's ideal if all of the page's async requirements are fetched and fulfilled as early...