Pending component not showing on beforeLoad on rootRoute
It seems that if you do a beforeLoad on the root route it doesn't render the pending component. Is this intended ?
https://stackblitz.com/edit/tanstack-router-4kxhzc?file=app%2Froutes%2F__root.tsx&preset=node
StackBlitz
Router Start Basic Example (forked) - StackBlitz
Run official live example code for Router Start Basic, created by Tanstack on StackBlitz
1 Reply
stormy-gold•8mo ago
https://github.com/TanStack/router/issues/2182
look at this issue
GitHub
createRootRoute does not render the pending component on initial pa...
Describe the bug Hello, I want to load data that is relevant for the whole page (e.g. user related data) on the first load of the page and use it through the whole application where it is needed. F...