Rendering dynamic header component in each page by still leveraging loader
function
#4979
Unanswered
zwelhtetyan
asked this question in
Q&A
Replies: 1 comment
-
where should the aside from that, look into deferred data loading |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I am rendering
<Header />
component in each page since I just want explicit-control. But the problem is, when data-fetching using loader function, the header is not showing since the whole page is loading for data. Can anyone have an idea to use explicit-header in each page by still leveraging loader function form tanstack router. My expectation is to show header without waiting data-fetching to finish. And I also want to pass dynamic data to header like eg for "room-detail-page", the header should show "Dashboard -> Room -> DynamicRoonName".Beta Was this translation helpful? Give feedback.
All reactions