Which project does this relate to?
Router
Describe the bug
When client side navigating to a page that has a parent layout, and the layout loads data (throuh Tanstack Query) slower than the page, then the page fails to render.
Hard reload of the page gets it into a working state.
Your Example Website or App
https://github.com/jakst/tss-search-params-undefined-repro
Steps to Reproduce the Bug or Issue
- Start dev server
- Open http://localhost:3000
- Click the "👉 To page2" link
- Notice that only the header renders, not the page content for page2
Expected behavior
I expect the page to render properly
Screenshots or Videos
No response
Platform
- Router / Start Version: 1.168.19
- OS: MacOS
- Browser: Chrome
- Browser Version: 147
- Bundler: vite
- Bundler Version: 8.0.8
Additional context
No response
Which project does this relate to?
Router
Describe the bug
When client side navigating to a page that has a parent layout, and the layout loads data (throuh Tanstack Query) slower than the page, then the page fails to render.
Hard reload of the page gets it into a working state.
Your Example Website or App
https://github.com/jakst/tss-search-params-undefined-repro
Steps to Reproduce the Bug or Issue
Expected behavior
I expect the page to render properly
Screenshots or Videos
No response
Platform
Additional context
No response